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
Windows 10 Theme for BlueVision skin
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: 1159159" data-attributes="member: 145639"><p>Here the last overwork of the MediaItem view:</p><ul> <li data-xf-list-type="ul">The grey border will be used as background for grid and list view. There is a shadow behind the border.<br /> </li> <li data-xf-list-type="ul">The black top menu border has a slight gradient to the lower edge making the transition softer</li> </ul> <p style="margin-left: 20px">[ATTACH=full]171319[/ATTACH]</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">[ATTACH=full]171350[/ATTACH] </p><p></p><p>[USER=106003]@FreakyJ[/USER]</p><p>The shadow is done with an effect your created I think (ZoomBlurEffect). There is just a problem.</p><p>[CODE=XML] <Rectangle Grid.Row="0" Fill="Black" Opacity="0.5" Margin="-37,13,41,8"></p><p> <Rectangle.Effect></p><p> <ZoomBlurEffect BlurAmount="0.02" CenterX="0.25" CenterY="0.5" /></p><p> </Rectangle.Effect></p><p> </Rectangle>[/CODE]</p><p>The properties CenterX and CenterY seem to be related to the total screen and not to the object (in this case "Rectangle") it is applied for. I have to use for CenterX a value of 0.25 to have the shadow going homogenious to all directions (because the center of the grey box is in about 25% of the screen on x-axes I guess). When I add a second shadow (I'd like to do for the Poster) it automatically also takes the same CenterX and CenterY values. Am I doing something wrong or is it intended to work like this? <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> Target is to have several shadows that have their origin in (0.5, 0.5) of the assigned object and independent of the screen position.</p></blockquote><p></p>
[QUOTE="ge2301, post: 1159159, member: 145639"] Here the last overwork of the MediaItem view: [LIST] [*]The grey border will be used as background for grid and list view. There is a shadow behind the border. [*]The black top menu border has a slight gradient to the lower edge making the transition softer [/LIST] [INDENT][ATTACH=full]171319[/ATTACH] [ATTACH=full]171350[/ATTACH] [/INDENT] [USER=106003]@FreakyJ[/USER] The shadow is done with an effect your created I think (ZoomBlurEffect). There is just a problem. [CODE=XML] <Rectangle Grid.Row="0" Fill="Black" Opacity="0.5" Margin="-37,13,41,8"> <Rectangle.Effect> <ZoomBlurEffect BlurAmount="0.02" CenterX="0.25" CenterY="0.5" /> </Rectangle.Effect> </Rectangle>[/CODE] The properties CenterX and CenterY seem to be related to the total screen and not to the object (in this case "Rectangle") it is applied for. I have to use for CenterX a value of 0.25 to have the shadow going homogenious to all directions (because the center of the grey box is in about 25% of the screen on x-axes I guess). When I add a second shadow (I'd like to do for the Poster) it automatically also takes the same CenterX and CenterY values. Am I doing something wrong or is it intended to work like this? :) Target is to have several shadows that have their origin in (0.5, 0.5) of the assigned object and independent of the screen position. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Windows 10 Theme for BlueVision skin
Contact us
RSS
Top
Bottom