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: 1144331" data-attributes="member: 48495"><p>Hmm, not sure if I understand you correctly. It is the place where I pointed to: <a href="https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/BlueVision/Skin/BlueVision/themes/default/styles/Buttons.xaml#L317-L320" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/BlueVision/Skin/BlueVision/themes/default/styles/Buttons.xaml#L317-L320</a>.</p><p>[CODE=XML]<DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=ListViewItem}, Path=Context.IsActive}" Value="False"></p><p> <Setter Property="Opacity" Value="0.4"/></p><p></DataTrigger></p><p>[/CODE]</p><p>Here an opacity of 40% (0.4) is set in case, that the ListViewItem (this is the "container" of the image), has a "IsActive = false". This is done by a Trigger to the actual control.</p><p></p><p>This control is defined few lines above:</p><p><a href="https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/BlueVision/Skin/BlueVision/themes/default/styles/Buttons.xaml#L301-L315" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/BlueVision/Skin/BlueVision/themes/default/styles/Buttons.xaml#L301-L315</a></p><p>i.e. you could change the default Opacity at the Grid in line 301:</p><p>[CODE=XML]<Grid x:Name="GrowControl" RenderTransformOrigin="0.5,0.5" Margin="0,1,0,1">[/CODE]</p><p>for example to use Opacity of 80%:</p><p>[CODE=XML]<Grid x:Name="GrowControl" RenderTransformOrigin="0.5,0.5" Margin="0,1,0,1" Opacity="0.8">[/CODE]</p><p></p><p>I hope this helps...</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1144331, member: 48495"] Hmm, not sure if I understand you correctly. It is the place where I pointed to: [URL]https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/BlueVision/Skin/BlueVision/themes/default/styles/Buttons.xaml#L317-L320[/URL]. [CODE=XML]<DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=ListViewItem}, Path=Context.IsActive}" Value="False"> <Setter Property="Opacity" Value="0.4"/> </DataTrigger> [/CODE] Here an opacity of 40% (0.4) is set in case, that the ListViewItem (this is the "container" of the image), has a "IsActive = false". This is done by a Trigger to the actual control. This control is defined few lines above: [URL]https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/BlueVision/Skin/BlueVision/themes/default/styles/Buttons.xaml#L301-L315[/URL] i.e. you could change the default Opacity at the Grid in line 301: [CODE=XML]<Grid x:Name="GrowControl" RenderTransformOrigin="0.5,0.5" Margin="0,1,0,1">[/CODE] for example to use Opacity of 80%: [CODE=XML]<Grid x:Name="GrowControl" RenderTransformOrigin="0.5,0.5" Margin="0,1,0,1" Opacity="0.8">[/CODE] I hope this helps... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom