Skip to content

Commit

Permalink
Merge pull request #4478 from Ifry/patch-2
Browse files Browse the repository at this point in the history
Make MultiSelectionComboBox DropDown respect MaxDropDownHeight value
  • Loading branch information
punker76 authored Apr 11, 2024
2 parents 8f1d02b + 269bfc4 commit 509c9d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MahApps.Metro/Themes/MultiSelectionComboBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}">
<Grid MinWidth="{Binding ActualWidth, RelativeSource={RelativeSource TemplatedParent}}" MaxHeight="{Binding MaxDropDownHeight, RelativeSource={RelativeSource TemplatedParent}}">
<mah:ClipBorder x:Name="PopupBorder"
Height="200"
Height="Auto"
HorizontalAlignment="Stretch"
Background="{DynamicResource MahApps.Brushes.ThemeBackground}"
BorderBrush="{DynamicResource MahApps.Brushes.ComboBox.PopupBorder}"
Expand Down Expand Up @@ -670,4 +670,4 @@
<Setter Property="mah:ScrollViewerHelper.IsHorizontalScrollWheelEnabled" Value="True" />
</Style>

</ResourceDictionary>
</ResourceDictionary>

0 comments on commit 509c9d7

Please sign in to comment.