Skip to content

Commit

Permalink
set ComboBox MinWidth on Border, not Popup itself. Fixes #599; via @j…
Browse files Browse the repository at this point in the history
…schroedl (#1349)

Co-authored-by: Sören Kuklau <[email protected]>
  • Loading branch information
2 people authored and pomianowski committed Feb 17, 2025
1 parent b6bc9a8 commit fede0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wpf.Ui/Controls/ComboBox/ComboBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@
</Grid>
<Popup
x:Name="Popup"
MinWidth="{TemplateBinding ActualWidth}"
VerticalAlignment="Center"
AllowsTransparency="True"
Focusable="False"
Expand All @@ -263,6 +262,7 @@
VerticalOffset="1">
<Border
x:Name="DropDownBorder"
MinWidth="{TemplateBinding ActualWidth}"
Margin="0"
Padding="0,4,0,6"
Background="{DynamicResource ComboBoxDropDownBackground}"
Expand Down

0 comments on commit fede0ff

Please sign in to comment.