Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup of DropDownButton/SplitButton has unwanted MinHeight #1191

Closed
IrgendwerA8 opened this issue Jan 30, 2024 · 4 comments
Closed

Popup of DropDownButton/SplitButton has unwanted MinHeight #1191

IrgendwerA8 opened this issue Jan 30, 2024 · 4 comments
Assignees
Milestone

Comments

@IrgendwerA8
Copy link

When having only one or two items assigned to a drop-down button, the styling forces a minimum height, leaving lines empty on the screen. Also visible in the showcase app:
grafik

Older versions didn't had that problem.

A fix may consist in changing line 143 of DropDownButton.xaml to
MinHeight="0".

@batzen
Copy link
Member

batzen commented Jan 31, 2024

Uh, that's a copy/paste mistake from the ComboBox code.

@batzen batzen self-assigned this Jan 31, 2024
@batzen batzen added this to the 10.1.0 milestone Jan 31, 2024
@batzen batzen closed this as completed in 7f6b2c8 Feb 1, 2024
@IrgendwerA8
Copy link
Author

Thanks!

@VratislavBelsky
Copy link

the same thing SplitButton

@VratislavBelsky
Copy link

SplitButton.xaml line 125

@batzen batzen changed the title Content-Control of DropDownButton has unwanted MinHeight Popup of DropDownButton/SplitButton has unwanted MinHeight Feb 3, 2024
batzen added a commit that referenced this issue Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants