File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 82
82
</Style >
83
83
84
84
<!-- #region Theme Style-->
85
+ <Style
86
+ x : Key =" ThemeListStyle"
87
+ BasedOn =" {StaticResource DefaultListBoxStyle}"
88
+ TargetType =" {x:Type ListBox}" >
89
+ <Setter Property =" BorderBrush" Value =" Transparent" />
90
+ <Setter Property =" Background" Value =" Transparent" />
91
+ <Setter Property =" KeyboardNavigation.TabNavigation" Value =" None" />
92
+ <Setter Property =" Padding" Value =" 0 0 0 0" />
93
+ </Style >
85
94
<Style
86
95
x : Key =" ThemeList"
87
96
BasedOn =" {StaticResource DefaultListBoxItemStyle}"
136
145
<Setter Property =" Background" Value =" {DynamicResource Color00B}" />
137
146
<Setter Property =" Padding" Value =" 0 0 0 0" />
138
147
<Setter Property =" UseLayoutRounding" Value =" True" />
139
- <Setter Property =" SnapsToDevicePixels" Value =" True" />
140
148
<Setter Property =" Margin" Value =" 0 0 18 5" />
141
149
<Setter Property =" HorizontalContentAlignment" Value =" Stretch" />
142
150
<Setter Property =" BorderBrush" Value =" {DynamicResource Color03B}" />
Original file line number Diff line number Diff line change 387
387
ItemsSource =" {Binding Themes}"
388
388
ScrollViewer.HorizontalScrollBarVisibility=" Disabled"
389
389
ScrollViewer.VerticalScrollBarVisibility=" Disabled"
390
- SelectedValue =" {Binding SelectedTheme}" >
390
+ SelectedValue =" {Binding SelectedTheme}"
391
+ Style =" {DynamicResource ThemeListStyle}" >
391
392
<ListBox .ItemsPanel>
392
393
<ItemsPanelTemplate >
393
394
<WrapPanel />
You can’t perform that action at this time.
0 commit comments