Browse Source

Merge pull request #6105 from amwx/combobox_data

ComboBox: Let Data and Stretch be overridden
pull/6425/head
Max Katz 5 years ago
committed by GitHub
parent
commit
06d800e8ef
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/Avalonia.Themes.Fluent/Controls/ComboBox.xaml

6
src/Avalonia.Themes.Fluent/Controls/ComboBox.xaml

@ -112,9 +112,7 @@
<Panel Height="12" <Panel Height="12"
Width="12" /> Width="12" />
<Path x:Name="DropDownGlyph" <Path x:Name="DropDownGlyph"
Stretch="Uniform" VerticalAlignment="Center" />
VerticalAlignment="Center"
Data="M1939 486L2029 576L1024 1581L19 576L109 486L1024 1401L1939 486Z" />
</Panel> </Panel>
</Viewbox> </Viewbox>
<Popup Name="PART_Popup" <Popup Name="PART_Popup"
@ -160,6 +158,8 @@
<Style Selector="ComboBox /template/ Path#DropDownGlyph"> <Style Selector="ComboBox /template/ Path#DropDownGlyph">
<Setter Property="Fill" Value="{DynamicResource ComboBoxDropDownGlyphForeground}" /> <Setter Property="Fill" Value="{DynamicResource ComboBoxDropDownGlyphForeground}" />
<Setter Property="Data" Value="M1939 486L2029 576L1024 1581L19 576L109 486L1024 1401L1939 486Z" />
<Setter Property="Stretch" Value="Uniform" />
</Style> </Style>
<!-- PointerOver State --> <!-- PointerOver State -->

Loading…
Cancel
Save