fluentribbon / Fluent.Ribbon

WPF Ribbon control like in Office
http://fluentribbon.github.io
MIT License
2.48k stars 515 forks source link

Popup of DropDownButton/SplitButton has unwanted MinHeight #1191

Closed IrgendwerA8 closed 5 months ago

IrgendwerA8 commented 5 months ago

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 commented 5 months ago

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

IrgendwerA8 commented 5 months ago

Thanks!

VratislavBelsky commented 5 months ago

the same thing SplitButton

VratislavBelsky commented 5 months ago

SplitButton.xaml line 125