Skip to content

Commit 41ea15b

Browse files
committed
Fixes #1151 by using the size excluding the header
1 parent cc47416 commit 41ea15b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- [#1134](../../issues/1134) - Selected Tab on first render has a black border
99
- [#1135](../../issues/1135) - Black line between Ribbon and Window (when using a colorful theme)
1010
- [#1125](../../issues/1125) - BackStage Back Button doesn't have an accessibility text.
11+
- [#1151](../../issues/1151) - ComboBox Popup MinWidth too large
1112
- [#1152](../../issues/1152) - Using ObjectToImageConverter via StaticResource raises an exception (thanks @nishy2000)
1213

1314
## 10.0.0

Fluent.Ribbon/Themes/Controls/ComboBox.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,9 @@
187187
</ResourceDictionary>
188188
</Popup.Resources>
189189
<Fluent:ResizeableContentControl x:Name="PART_PopupContentControl"
190-
MinWidth="{TemplateBinding ActualWidth}"
191-
MinHeight="{TemplateBinding ActualHeight}"
192-
MaxHeight="{TemplateBinding MaxDropDownHeight}"
190+
MinWidth="{Binding ActualWidth, ElementName=PART_ContentBorder}"
191+
MinHeight="{Binding ActualHeight, ElementName=PART_ContentBorder}"
192+
MaxHeight="{TemplateBinding MaxDropDownHeight}"
193193
IsEnabled="{TemplateBinding IsEnabled}"
194194
ResizeMode="{TemplateBinding ResizeMode}">
195195
<Grid>

0 commit comments

Comments
 (0)