File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
MediaPortal/Source/UI/Skins/BlueVision/Skin/BlueVision/themes/Win10/styles Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 188188 </Setter >
189189 </Style >
190190
191+ <!-- An item list container represented by a standard "Button", scrolling its "ItemLabel" label when focused -->
192+ <Style x : Key =" NewsMenuItemContainerStyle" BasedOn =" {ThemeResource DefaultItemContainerStyle}" >
193+ <Setter Property =" Template" >
194+ <Setter .Value>
195+ <ControlTemplate TargetType =" {x:Type ListViewItem}" >
196+ <Button Style =" {ThemeResource MenuButtonWideStyle}" Margin =" 80,0,51,0"
197+ Command =" {DynamicResource ResourceKey=Menu_Command}"
198+ IsEnabled =" {Binding Enabled}" SetFocus =" {Binding Path=Selected,Mode=OneTime}" >
199+ <Button .Triggers>
200+ <Trigger Property =" HasFocus" Value =" True" >
201+ <Setter TargetName =" ItemLabel" Property =" Opacity" Value =" 1" />
202+ <Setter TargetName =" ItemLabel" Property =" Color" Value =" {ThemeResource TextColor}" />
203+ <Setter TargetName =" ItemLabel" Property =" Scroll" Value =" Auto" />
204+ <Setter Property =" StackPanel.ZIndex" Value =" 100.0" />
205+ </Trigger >
206+ </Button .Triggers>
207+ </Button >
208+ </ControlTemplate >
209+ </Setter .Value>
210+ </Setter >
211+ </Style >
212+
191213 <!-- ListView style to be used for the list in the news feeds configuration dialog -->
192214 <Style x : Key =" NewsFeedsBookmarksListViewStyle" BasedOn =" {ThemeResource ContentsMenuListViewStyle}" >
193215 <Setter Property =" ItemTemplate" Value =" {ThemeResource NewsFeedBookmarkItemDataTemplate}" />
194216 <Setter Property =" Background" Value =" {ThemeResource ItemsControlDialogShadowBackgroundColor}" />
195- <Setter Property =" ItemContainerStyle" Value =" {ThemeResource DefaultHighlightableItemContainerStyle }" />
217+ <Setter Property =" ItemContainerStyle" Value =" {ThemeResource NewsMenuItemContainerStyle }" />
196218 </Style >
197219
198220</ResourceDictionary >
You can’t perform that action at this time.
0 commit comments