Skip to content

Commit cb8abc2

Browse files
authored
Make ComboBox arrow properly centered (#466)
1 parent ca4bd4f commit cb8abc2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Material.Styles/Resources/Themes/ComboBox.axaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
BorderBrush="Transparent"
8282
BorderThickness="0">
8383
<Path Name="arrow"
84-
Width="8" Height="8"
84+
Width="8" Height="4"
8585
Stretch="Uniform"
8686
HorizontalAlignment="Right"
8787
VerticalAlignment="Center"
@@ -223,7 +223,7 @@
223223
BorderBrush="Transparent"
224224
BorderThickness="0">
225225
<Path Name="arrow"
226-
Width="8" Height="8"
226+
Width="8" Height="4"
227227
Stretch="Uniform"
228228
HorizontalAlignment="Right"
229229
VerticalAlignment="Center"
@@ -333,7 +333,7 @@
333333
BorderBrush="Transparent"
334334
BorderThickness="0">
335335
<Path Name="arrow"
336-
Width="8" Height="8"
336+
Width="8" Height="4"
337337
Stretch="Uniform"
338338
HorizontalAlignment="Right"
339339
VerticalAlignment="Center"
@@ -386,7 +386,7 @@
386386
<ThicknessTransition Duration="0:0:0.25" Property="BorderThickness" Easing="CircularEaseOut" />
387387
</Transitions>
388388
</Setter>
389-
</Style>
389+
</Style>
390390

391391
<Style Selector="^ /template/ Grid#PART_RootBorder">
392392
<Setter Property="MinHeight" Value="52" />
@@ -413,7 +413,7 @@
413413
<Setter Property="BorderBrush" Value="{DynamicResource MaterialPrimaryMidBrush}" />
414414
<Setter Property="BorderThickness" Value="2" />
415415
<Style Selector="^ /template/ TextBlock#floatingWatermark">
416-
<Setter Property="Foreground" Value="{DynamicResource MaterialPrimaryMidBrush}"/>
416+
<Setter Property="Foreground" Value="{DynamicResource MaterialPrimaryMidBrush}" />
417417
</Style>
418418
</Style>
419419

@@ -428,7 +428,7 @@
428428
<Setter Property="Margin" Value="6,8,6,0" />
429429
</Style>
430430
<Style Selector="^.dense:focus-within /template/ TextBlock#floatingWatermark">
431-
<Setter Property="Margin" Value="0,2"/>
431+
<Setter Property="Margin" Value="0,2" />
432432
</Style>
433433

434434
</ControlTheme>

0 commit comments

Comments
 (0)