Skip to content

Commit

Permalink
Fixes #1151 by using the size excluding the header
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Jul 25, 2023
1 parent cc47416 commit 41ea15b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- [#1134](../../issues/1134) - Selected Tab on first render has a black border
- [#1135](../../issues/1135) - Black line between Ribbon and Window (when using a colorful theme)
- [#1125](../../issues/1125) - BackStage Back Button doesn't have an accessibility text.
- [#1151](../../issues/1151) - ComboBox Popup MinWidth too large
- [#1152](../../issues/1152) - Using ObjectToImageConverter via StaticResource raises an exception (thanks @nishy2000)

## 10.0.0
Expand Down
6 changes: 3 additions & 3 deletions Fluent.Ribbon/Themes/Controls/ComboBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@
</ResourceDictionary>
</Popup.Resources>
<Fluent:ResizeableContentControl x:Name="PART_PopupContentControl"
MinWidth="{TemplateBinding ActualWidth}"
MinHeight="{TemplateBinding ActualHeight}"
MaxHeight="{TemplateBinding MaxDropDownHeight}"
MinWidth="{Binding ActualWidth, ElementName=PART_ContentBorder}"
MinHeight="{Binding ActualHeight, ElementName=PART_ContentBorder}"
MaxHeight="{TemplateBinding MaxDropDownHeight}"
IsEnabled="{TemplateBinding IsEnabled}"
ResizeMode="{TemplateBinding ResizeMode}">
<Grid>
Expand Down

0 comments on commit 41ea15b

Please sign in to comment.