Skip to content

Commit 8b101d0

Browse files
Jack251970TBM13
authored andcommitted
Use DefaultListBoxItemStyle for plugin item & plugin store item & Remove StoreItemFocusVisualStyleKey style
1 parent 3b15bae commit 8b101d0

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

Flow.Launcher/Resources/SettingWindowStyle.xaml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@
121121
</Style>
122122

123123
<!--#region Plugin Style-->
124-
<Style x:Key="PluginList" TargetType="ListBoxItem">
124+
<Style
125+
x:Key="PluginList"
126+
BasedOn="{StaticResource DefaultListBoxItemStyle}"
127+
TargetType="ListBoxItem">
125128
<Setter Property="Background" Value="{DynamicResource Color00B}" />
126129
<Setter Property="Padding" Value="0 0 0 0" />
127130
<Setter Property="UseLayoutRounding" Value="True" />
@@ -232,19 +235,10 @@
232235
</Style>
233236

234237
<!--#region PluginStore Style-->
235-
<Style x:Key="StoreItemFocusVisualStyleKey">
236-
<Setter Property="Control.Template">
237-
<Setter.Value>
238-
<ControlTemplate>
239-
<Rectangle
240-
Margin="0"
241-
Stroke="{DynamicResource Color05B}"
242-
StrokeThickness="2" />
243-
</ControlTemplate>
244-
</Setter.Value>
245-
</Setter>
246-
</Style>
247-
<Style x:Key="StoreList" TargetType="ListBoxItem">
238+
<Style
239+
x:Key="StoreList"
240+
BasedOn="{StaticResource DefaultListBoxItemStyle}"
241+
TargetType="ListBoxItem">
248242
<Setter Property="Padding" Value="0 0 0 0" />
249243
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
250244
<Setter Property="HorizontalAlignment" Value="Stretch" />

0 commit comments

Comments
 (0)