Skip to content

Commit

Permalink
Fixes #1191
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Feb 3, 2024
1 parent 7f6b2c8 commit 4df1343
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- Simplified state was not updated when items changed
- [#1165](../../issues/1165) - ScreenTip is not DPI aware
- [#1183](../../issues/1183) - MenuItems, having a submenu, do not stay highlighted when MenuItem from the submenu is highlighted
- [#1191](../../issues/1191) - Content-Control of DropDownButton has unwanted MinHeight
- [#1191](../../issues/1191) - Popup of DropDownButton/SplitButton has unwanted MinHeight

- ### Enhancements/Features

Expand Down
1 change: 0 additions & 1 deletion Fluent.Ribbon/Themes/Controls/DropDownButton.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}">
<Fluent:ResizeableContentControl x:Name="PART_PopupContentControl"
MinWidth="{TemplateBinding ActualWidth}"
MinHeight="{TemplateBinding ActualHeight}"
MaxHeight="{TemplateBinding MaxDropDownHeight}"
IsEnabled="{TemplateBinding IsEnabled}"
ResizeMode="{TemplateBinding ResizeMode}">
Expand Down
3 changes: 1 addition & 2 deletions Fluent.Ribbon/Themes/Controls/SplitButton.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}">
<Fluent:ResizeableContentControl x:Name="PART_PopupContentControl"
MinWidth="{TemplateBinding ActualWidth}"
MinHeight="{TemplateBinding ActualHeight}"
MaxHeight="{TemplateBinding MaxDropDownHeight}"
IsEnabled="{TemplateBinding IsEnabled}"
ResizeMode="{TemplateBinding ResizeMode}">
Expand Down Expand Up @@ -259,8 +258,8 @@
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}">
<Fluent:ResizeableContentControl x:Name="PART_PopupContentControl"
MinWidth="{TemplateBinding ActualWidth}"
MinHeight="{TemplateBinding ActualHeight}"
MaxHeight="{TemplateBinding MaxDropDownHeight}"
IsEnabled="{TemplateBinding IsEnabled}"
ResizeMode="{TemplateBinding ResizeMode}">
<ScrollViewer x:Name="PART_ScrollViewer"
Style="{DynamicResource Fluent.Ribbon.Styles.MenuScrollViewer}"
Expand Down

0 comments on commit 4df1343

Please sign in to comment.