home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
BlueVision
Plugin support
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ge2301" data-source="post: 1135896" data-attributes="member: 145639"><p>In OV it was quite easy to change the button style, because it can be defined in ovsSiteItemContainerStyle.</p><p>[html] <Style x:Key="ovsSitesListViewStyle" TargetType="{x:Type ListView}"></p><p> <Setter Property="Template" Value="{ThemeResource ovsListViewTemplate}"/></p><p> <Setter Property="ItemsPanel"></p><p> <Setter.Value></p><p> <ItemsPanelTemplate></p><p> <WrapPanel IsItemsHost="True" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="{ResolutionResource ovsSitesPanelMargin}"/></p><p> </ItemsPanelTemplate></p><p> </Setter.Value></p><p> </Setter></p><p> <Setter Property="ItemTemplate" Value="{ThemeResource ovsSiteItemDataTemplate}"/></p><p> <Setter Property="ItemContainerStyle" Value="{ThemeResource ovsSiteItemContainerStyle}"/></p><p> <Setter Property="DataStringProvider" Value="{ThemeResource DefaultItemDataStringProvider}"/></p><p> </Style>[/html]</p><p></p><p>For news there is no style setter. Changing the "BasedOn" does not work.</p><p>[html] <Style x:Key="NewsFeedsContainerStyle" BasedOn="{ThemeResource MenuListViewStyle}"></p><p> <Setter Property="ItemTemplate" Value="{ThemeResource NewsFeedDataTemplate}" /></p><p> </Style>[/html]</p><p></p><p>How can I switch to the framed focus button? <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite26" alt=":unsure:" title="Unsure :unsure:" loading="lazy" data-shortname=":unsure:" /> Added a second setter "ItemContainerStyle" and adding a to OV comparable code behind made MP2 fall back to standard skin.</p></blockquote><p></p>
[QUOTE="ge2301, post: 1135896, member: 145639"] In OV it was quite easy to change the button style, because it can be defined in ovsSiteItemContainerStyle. [html] <Style x:Key="ovsSitesListViewStyle" TargetType="{x:Type ListView}"> <Setter Property="Template" Value="{ThemeResource ovsListViewTemplate}"/> <Setter Property="ItemsPanel"> <Setter.Value> <ItemsPanelTemplate> <WrapPanel IsItemsHost="True" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="{ResolutionResource ovsSitesPanelMargin}"/> </ItemsPanelTemplate> </Setter.Value> </Setter> <Setter Property="ItemTemplate" Value="{ThemeResource ovsSiteItemDataTemplate}"/> <Setter Property="ItemContainerStyle" Value="{ThemeResource ovsSiteItemContainerStyle}"/> <Setter Property="DataStringProvider" Value="{ThemeResource DefaultItemDataStringProvider}"/> </Style>[/html] For news there is no style setter. Changing the "BasedOn" does not work. [html] <Style x:Key="NewsFeedsContainerStyle" BasedOn="{ThemeResource MenuListViewStyle}"> <Setter Property="ItemTemplate" Value="{ThemeResource NewsFeedDataTemplate}" /> </Style>[/html] How can I switch to the framed focus button? :unsure: Added a second setter "ItemContainerStyle" and adding a to OV comparable code behind made MP2 fall back to standard skin. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Plugin support
Contact us
RSS
Top
Bottom