fix: move dimensions to resource.
This commit is contained in:
parent
ada894e456
commit
1bfe7a6744
@ -6,7 +6,7 @@
|
||||
</StackPanel>
|
||||
</Design.PreviewWith>
|
||||
<ControlTheme x:Key="{x:Type AutoCompleteBox}" TargetType="AutoCompleteBox">
|
||||
<Setter Property="AutoCompleteBox.MaxDropDownHeight" Value="600" />
|
||||
<Setter Property="AutoCompleteBox.MaxDropDownHeight" Value="{DynamicResource AutoCompleteMaxDropdownHeight}" />
|
||||
<Setter Property="Template">
|
||||
<ControlTemplate TargetType="AutoCompleteBox">
|
||||
<Panel>
|
||||
|
@ -6,4 +6,8 @@
|
||||
<Thickness x:Key="AutoCompleteBoxPopupMargin">4</Thickness>
|
||||
<CornerRadius x:Key="AutoCompleteBoxPopupCornerRadius">6</CornerRadius>
|
||||
<CornerRadius x:Key="AutoCompleteBoxCornerRadius">3</CornerRadius>
|
||||
<x:Double x:Key="AutoCompleteBoxDefaultHeight">30</x:Double>
|
||||
<x:Double x:Key="AutoCompleteBoxSmallHeight">22</x:Double>
|
||||
<x:Double x:Key="AutoCompleteBoxLargeHeight">38</x:Double>
|
||||
<x:Double x:Key="AutoCompleteMaxDropdownHeight">600</x:Double>
|
||||
</ResourceDictionary>
|
||||
|
@ -9,4 +9,5 @@
|
||||
<x:Double x:Key="AutoCompleteBoxDefaultHeight">30</x:Double>
|
||||
<x:Double x:Key="AutoCompleteBoxSmallHeight">22</x:Double>
|
||||
<x:Double x:Key="AutoCompleteBoxLargeHeight">38</x:Double>
|
||||
<x:Double x:Key="AutoCompleteMaxDropdownHeight">600</x:Double>
|
||||
</ResourceDictionary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user