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="ge2301" data-source="post: 1127351" data-attributes="member: 145639"><p>Solved, the solution was too stupid, so I didn't try before. The * also need to be replaced with 560 ... then the mask is working <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite11" alt=":rolleyes:" title="Roll Eyes :rolleyes:" loading="lazy" data-shortname=":rolleyes:" /></p><p>[code]<Grid</p><p> xmlns="www.team-mediaportal.com/2008/mpf/directx"</p><p> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"</p><p> xmlns:fanart="clr-namespace:MediaPortal.Extensions.UserServices.FanArtService.Client;assembly=FanArtService.Client"</p><p> xmlns:media="clr-namespace:MediaPortal.UiComponents.Media.Models.AspectWrappers;assembly=Media"</p><p> </p><p> x:Name="MediaItemDetails" HorizontalAlignment="Right"</p><p> Width="560" Height="560"></p><p> <!--Margin="80,5,-15,17"--></p><p> <!-- Rounded corners are applied by OpacityMask --></p><p></p><p> <Grid.Resources></p><p> <fanart:FanArtImageSourceConverter x:Key="FanArtImageSourceConverter"/></p><p> <fanart:MediaItemAspectToBoolConverter x:Key="MediaItemAspectToBoolConverter" /></p><p> </Grid.Resources></p><p> <Grid.ColumnDefinitions></p><p> <ColumnDefinition Width="*"/></p><p> </Grid.ColumnDefinitions></p><p> <Grid.RowDefinitions></p><p> <RowDefinition Height="*"/></p><p> </Grid.RowDefinitions></p><p></p><p> <!-- Image--></p><p> <Image Grid.Column="0" HorizontalAlignment="Right" Stretch="Uniform" Margin="0,0,0,0"</p><p> Source="{Binding Source={StaticResource FanArtBackgroundModel}, Path=ImageSource, Converter={StaticResource FanArtImageSourceConverter}, ConverterParameter=FanArt;560;560}"</p><p> FallbackSource="{Binding Source={StaticResource FanArtBackgroundModel},Path=MediaItem}"</p><p> OpacityMask="{ThemeResource HomeTileOpacityBrush}"></p><p> </Image></p><p></Grid>[/code]</p></blockquote><p></p>
[QUOTE="ge2301, post: 1127351, member: 145639"] Solved, the solution was too stupid, so I didn't try before. The * also need to be replaced with 560 ... then the mask is working :rolleyes: [code]<Grid xmlns="www.team-mediaportal.com/2008/mpf/directx" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:fanart="clr-namespace:MediaPortal.Extensions.UserServices.FanArtService.Client;assembly=FanArtService.Client" xmlns:media="clr-namespace:MediaPortal.UiComponents.Media.Models.AspectWrappers;assembly=Media" x:Name="MediaItemDetails" HorizontalAlignment="Right" Width="560" Height="560"> <!--Margin="80,5,-15,17"--> <!-- Rounded corners are applied by OpacityMask --> <Grid.Resources> <fanart:FanArtImageSourceConverter x:Key="FanArtImageSourceConverter"/> <fanart:MediaItemAspectToBoolConverter x:Key="MediaItemAspectToBoolConverter" /> </Grid.Resources> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="*"/> </Grid.RowDefinitions> <!-- Image--> <Image Grid.Column="0" HorizontalAlignment="Right" Stretch="Uniform" Margin="0,0,0,0" Source="{Binding Source={StaticResource FanArtBackgroundModel}, Path=ImageSource, Converter={StaticResource FanArtImageSourceConverter}, ConverterParameter=FanArt;560;560}" FallbackSource="{Binding Source={StaticResource FanArtBackgroundModel},Path=MediaItem}" OpacityMask="{ThemeResource HomeTileOpacityBrush}"> </Image> </Grid>[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom