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
New Community Theme: Bamboo
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: 1097232" data-attributes="member: 48495"><p>I think you should adopt:</p><p> <!-- Menu template --></p><p> <DataTemplate x:Key="MainMenuItemDataTemplateHover"></p><p> <Grid x:Name="ItemControl" Margin="0,0,0,0" Width="<strong>580</strong>" Height="244"></p><p></p><p>And please check the "homebutton_mask.png" if it matches your new size (it's used for transparent corners).</p><p></p><p>Then check "buttons.xaml":</p><p> <!-- Home items button style --></p><p> <Style x:Key="HomeButtonControlStyle" TargetType="{x:Type Control}"></p><p> <Setter Property="Template"></p><p> <Setter.Value></p><p> <ControlTemplate></p><p> <!--<Image x:Name="HoverGlow" Source="basichome_button_focus.png" Margin="<strong>-45</strong>" IsVisible="false" />--></p><p> </ControlTemplate></p><p> </Setter.Value></p><p> </Setter></p><p> </Style></p><p>-> if you comment out the "HoverGlow" it should fit on screen properly. This means the basichome_button_focus.png has to fit to your desired button size (and check the "Margin" property!)</p><p></p><p>It looks like this:</p><p>[ATTACH=full]154444[/ATTACH]</p><p></p><p>with:</p><p>[CODE=XML] <!-- Menu template --></p><p> <DataTemplate x:Key="MainMenuItemDataTemplateHover"></p><p> <Grid x:Name="ItemControl" Margin="0,0,0,0" Width="340" Height="224"></p><p> <Grid.ColumnDefinitions></p><p> <ColumnDefinition Width="*"/></p><p> </Grid.ColumnDefinitions></p><p> <Grid.RowDefinitions></p><p> <RowDefinition Height="180"/></p><p> <RowDefinition Height="Auto"/></p><p> </Grid.RowDefinitions></p><p>[/CODE]</p><p>and</p><p>[CODE=XML]<WrapPanel x:Name="ListItemsHost" IsItemsHost="True" Orientation="Vertical"/>[/CODE]</p><p>and without hover glow image.</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1097232, member: 48495"] I think you should adopt: <!-- Menu template --> <DataTemplate x:Key="MainMenuItemDataTemplateHover"> <Grid x:Name="ItemControl" Margin="0,0,0,0" Width="[B]580[/B]" Height="244"> And please check the "homebutton_mask.png" if it matches your new size (it's used for transparent corners). Then check "buttons.xaml": <!-- Home items button style --> <Style x:Key="HomeButtonControlStyle" TargetType="{x:Type Control}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <!--<Image x:Name="HoverGlow" Source="basichome_button_focus.png" Margin="[B]-45[/B]" IsVisible="false" />--> </ControlTemplate> </Setter.Value> </Setter> </Style> -> if you comment out the "HoverGlow" it should fit on screen properly. This means the basichome_button_focus.png has to fit to your desired button size (and check the "Margin" property!) It looks like this: [ATTACH=full]154444[/ATTACH] with: [CODE=XML] <!-- Menu template --> <DataTemplate x:Key="MainMenuItemDataTemplateHover"> <Grid x:Name="ItemControl" Margin="0,0,0,0" Width="340" Height="224"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="180"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> [/CODE] and [CODE=XML]<WrapPanel x:Name="ListItemsHost" IsItemsHost="True" Orientation="Vertical"/>[/CODE] and without hover glow image. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
New Community Theme: Bamboo
Contact us
RSS
Top
Bottom