Skip to content

Conversation

corvinsz
Copy link
Member

@corvinsz corvinsz commented Oct 3, 2025

The default style (MaterialDesignPopupBoxButton) for Buttons inside of the PopupBox is behaving a bit weird when it comes to positioning custom content.

For example with an icon the content was always aligned at the top, without the user being able to change that.
I adjusted the style a bit so that:

  1. consumers can adjust the VerticalContentAlignment (by removing the hardcoded Margin of 16,0,16,16)
  2. the Cursor becomes the Hand when hovering over

Before

image

After

image

Modified padding, added cursor, and updated vertical alignment.
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.

1 participant