Browse Source

fit dropdown popup in screen

pull/2122/head
Andrey Kunchev 8 years ago
parent
commit
b8b7de237d
  1. 1
      src/Avalonia.Themes.Default/DropDown.xaml

1
src/Avalonia.Themes.Default/DropDown.xaml

@ -35,6 +35,7 @@
MinWidth="{Binding Bounds.Width, RelativeSource={RelativeSource TemplatedParent}}" MinWidth="{Binding Bounds.Width, RelativeSource={RelativeSource TemplatedParent}}"
MaxHeight="{TemplateBinding MaxDropDownHeight}" MaxHeight="{TemplateBinding MaxDropDownHeight}"
PlacementTarget="{TemplateBinding}" PlacementTarget="{TemplateBinding}"
ObeyScreenEdges="True"
StaysOpen="False"> StaysOpen="False">
<Border BorderBrush="{DynamicResource ThemeBorderMidBrush}" <Border BorderBrush="{DynamicResource ThemeBorderMidBrush}"
BorderThickness="1"> BorderThickness="1">

Loading…
Cancel
Save