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
Blue Vision
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="morpheus_xx" data-source="post: 1136545" data-attributes="member: 48495"><p>Can you please explain what you want to achieve? Do you want site list only with logos, no title and no description?</p><p></p><p>From your attached skin files it looks to me that you have copied too much, which makes changes more complicated.</p><p></p><p>Please revise the ListView controls and templates. I think you are trying to modify style in the wrong place. The added "<Border ..." inside the NewsFeed<strong>DataTemplate</strong> is not the best place.</p><p></p><p>You have extended the ListViewStyle by "<Setter Property="ItemContainerStyle" Value="{ThemeResource MediaItemCoverWithContextMenuContainerStyle}" />", which is a step into right direction. It basically contains a custom button style:</p><p> <Style x:Key="MediaItemCoverWithContextMenuContainerStyle" BasedOn="{ThemeResource DefaultItemContainerStyle}"></p><p> <Setter Property="Template"></p><p> <Setter.Value></p><p> <ControlTemplate TargetType="{x:Type ListViewItem}"></p><p> <Button Style="{ThemeResource <strong>MediaItemButtonCoverStyle</strong>}"</p><p> Command="{DynamicResource ResourceKey=Menu_Command}"</p><p> IsEnabled="{Binding Enabled}" SetFocus="{Binding Path=Selected,Mode=OneTime}"></p><p></p><p>This why I wrote above about the button styles:</p><p></p><p>I'd recommend to:</p><ol> <li data-xf-list-type="ol">apply the highlight border for one basic button style ("main buttons")<br /> </li> <li data-xf-list-type="ol">then define one button style for the media items.</li> <li data-xf-list-type="ol">if we need an addtional button style (i.e. contents menu buttons) this would be another style.</li> </ol><p>As all skins / screens /styles use the default buttons (if not specified other way!), the point 1 is the key to define the global button style.</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1136545, member: 48495"] Can you please explain what you want to achieve? Do you want site list only with logos, no title and no description? From your attached skin files it looks to me that you have copied too much, which makes changes more complicated. Please revise the ListView controls and templates. I think you are trying to modify style in the wrong place. The added "<Border ..." inside the NewsFeed[B]DataTemplate[/B] is not the best place. You have extended the ListViewStyle by "<Setter Property="ItemContainerStyle" Value="{ThemeResource MediaItemCoverWithContextMenuContainerStyle}" />", which is a step into right direction. It basically contains a custom button style: <Style x:Key="MediaItemCoverWithContextMenuContainerStyle" BasedOn="{ThemeResource DefaultItemContainerStyle}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListViewItem}"> <Button Style="{ThemeResource [B]MediaItemButtonCoverStyle[/B]}" Command="{DynamicResource ResourceKey=Menu_Command}" IsEnabled="{Binding Enabled}" SetFocus="{Binding Path=Selected,Mode=OneTime}"> This why I wrote above about the button styles: I'd recommend to: [LIST=1] [*]apply the highlight border for one basic button style ("main buttons") [*]then define one button style for the media items. [*]if we need an addtional button style (i.e. contents menu buttons) this would be another style. [/LIST] As all skins / screens /styles use the default buttons (if not specified other way!), the point 1 is the key to define the global button style. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom