Skip to content

Fix outlined ComboBox border styles#454

Merged
SKProCH merged 4 commits intoAvaloniaCommunity:masterfrom
Hyz-sui:fix-combo-box-border
May 10, 2025
Merged

Fix outlined ComboBox border styles#454
SKProCH merged 4 commits intoAvaloniaCommunity:masterfrom
Hyz-sui:fix-combo-box-border

Conversation

@Hyz-sui
Copy link
Copy Markdown
Contributor

@Hyz-sui Hyz-sui commented May 10, 2025

Fixed MaterialOutlineComboBox control theme.

While using this library, I noticed that the outlined combobox should have lighter colored border brush like the outlined textbox but is body colored.
This fix sets the outlined combobox to the same border brush as the outlined textbox and tweaks the foreground of the label that is affected by it.
Transitions when getting focus were also missing, so I also added them to be like the TextBox.

I am a newbie to Avalonia and Material.Avalonia, so please tell me any mistakes.

Before After
image image
image image
image image

@SKProCH
Copy link
Copy Markdown
Collaborator

SKProCH commented May 10, 2025

Looks fine, thanks!

@SKProCH SKProCH merged commit 4a449df into AvaloniaCommunity:master May 10, 2025
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.

2 participants