Skip to content

Add TextArea::set_style and style to customize the text style - #882

Merged
gyscos merged 1 commit into
gyscos:mainfrom
ChrisJr404:text-area-style
Sep 5, 2026
Merged

gyscos merged 1 commit into
gyscos:mainfrom
ChrisJr404:text-area-style

Conversation

@ChrisJr404

Copy link
Copy Markdown
Contributor

TextArea always drew its text with the built-in EditableText palette styles, with no way to change them. EditView already exposes set_style/style for this, so this adds the same pair to TextArea for consistency.

The defaults are the same palette styles as before, so existing code is unaffected.

Resolves #362

@gyscos gyscos left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, merging.

@gyscos
gyscos merged commit 8b714d9 into gyscos:main Sep 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Styling of TextArea

2 participants