Skip to content

Added Combobox dense class to be consistent with TextBox dense class - #462

Merged
SKProCH merged 2 commits into
AvaloniaCommunity:masterfrom
WhiteMohawk:master
Jul 16, 2025
Merged

SKProCH merged 2 commits into
AvaloniaCommunity:masterfrom
WhiteMohawk:master

Conversation

@WhiteMohawk

Copy link
Copy Markdown
Contributor
  • added .dense class to ComboBox Theme as an equivalent to the TextBox Theme
  • Changed vOffset from -8 to -4 in RectHollowClipConverter as it interfered with clipping in border when in dense class and nothing was selected and not focused (floating label is in control and not in border so clipping should amso not occur). Doesn't seem to have an impact on other controls in demopages for TextBoxes and ComboBoxes
  • Added ComboBoxDense in ComboBoxesDemo page

…x Theme

* Changed vOffset from -8 to -4 in RectHollowClipConverter as it interfered with clipping in border when in dense class and nothing was selected and not focused (floating label is in control and not in border so clipping should amso not occur).
   Doesn't seem to have an impact on other controls in demopages for TextBoxes and ComboBoxes
* Added ComboBoxDense in ComboBoxesDemo page
Comment thread Material.Styles/Converters/RectHollowClipConverter.cs Outdated
@SKProCH SKProCH added the enhancement New feature or request label May 27, 2025
@SKProCH

SKProCH commented Jun 27, 2025

Copy link
Copy Markdown
Collaborator

@WhiteMohawk can you reply to my review question?

@SKProCH
SKProCH merged commit ca4bd4f into AvaloniaCommunity:master Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants