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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
src/Avalonia.Themes.Fluent/Controls/ComboBox.xaml
|
|
|
@ -112,9 +112,7 @@ |
|
|
|
<Panel Height="12" |
|
|
|
Width="12" /> |
|
|
|
<Path x:Name="DropDownGlyph" |
|
|
|
Stretch="Uniform" |
|
|
|
VerticalAlignment="Center" |
|
|
|
Data="M1939 486L2029 576L1024 1581L19 576L109 486L1024 1401L1939 486Z" /> |
|
|
|
VerticalAlignment="Center" /> |
|
|
|
</Panel> |
|
|
|
</Viewbox> |
|
|
|
<Popup Name="PART_Popup" |
|
|
|
@ -160,6 +158,8 @@ |
|
|
|
|
|
|
|
<Style Selector="ComboBox /template/ Path#DropDownGlyph"> |
|
|
|
<Setter Property="Fill" Value="{DynamicResource ComboBoxDropDownGlyphForeground}" /> |
|
|
|
<Setter Property="Data" Value="M1939 486L2029 576L1024 1581L19 576L109 486L1024 1401L1939 486Z" /> |
|
|
|
<Setter Property="Stretch" Value="Uniform" /> |
|
|
|
</Style> |
|
|
|
|
|
|
|
<!-- PointerOver State --> |
|
|
|
|