Skip to content

Commit 3ae9fb8

Browse files
Jack251970TBM13
authored andcommitted
Use DefaultListBoxItemStyle for theme style
1 parent 44b09c6 commit 3ae9fb8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Flow.Launcher/Resources/SettingWindowStyle.xaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,14 @@
8282
</Style>
8383

8484
<!--#region Theme Style-->
85-
<Style x:Key="ThemeList" TargetType="ListBoxItem">
85+
<Style
86+
x:Key="ThemeList"
87+
BasedOn="{StaticResource DefaultListBoxItemStyle}"
88+
TargetType="ListBoxItem">
8689
<Setter Property="HorizontalContentAlignment" Value="Left" />
8790
<Setter Property="HorizontalAlignment" Value="Left" />
8891
<Setter Property="Padding" Value="0" />
92+
<Setter Property="UseLayoutRounding" Value="True" />
8993
<Setter Property="Margin" Value="4" />
9094
<Setter Property="Template">
9195
<Setter.Value>
@@ -246,6 +250,7 @@
246250
<Setter Property="Padding" Value="0 0 0 0" />
247251
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
248252
<Setter Property="HorizontalAlignment" Value="Stretch" />
253+
<Setter Property="UseLayoutRounding" Value="True" />
249254
<Setter Property="Margin" Value="0 0 8 8" />
250255
<Setter Property="VerticalContentAlignment" Value="Stretch" />
251256
<!--#region Template for blue highlight win10-->

0 commit comments

Comments
 (0)