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: 1132739" data-attributes="member: 145639"><p>I had introduced a new popup dialog style by applying a blur to a blurred picture <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> The result is visually attractive, just one problem is remaining and I try to solve it currently.</p><p>In case the dialog window is very long, the blur effect is not stretched well (See screenshots).</p><p>[ATTACH]163775[/ATTACH] [ATTACH]163776[/ATTACH]</p><p></p><p>Current code for the blur:</p><p>[HTML] <Rectangle Fill="{ThemeResource DialogBorderBrush}" RadiusY="{ThemeResource DialogBorderCornerRadius}" RadiusX="{ThemeResource DialogBorderCornerRadius}"</p><p> Margin="-120,-85,-120,-80" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.9"></p><p> <Rectangle.Fill></p><p> <ImageBrush ImageSource="blur.png" Stretch="Fill"/></p><p> </Rectangle.Fill></p><p> <Rectangle.Effect></p><p> <ZoomBlurEffect BlurAmount="0.1" /></p><p> </Rectangle.Effect></p><p> </Rectangle>[/HTML]</p><p></p><p>I tried to devide the blur picture into 3 pieces, while only the middle piece is stretched vertically and all pieces are stretched horizontally.</p><p>The blur effect is applied to the grid in the end. This would make the rounding of the blur aspect indedendent and it should look better.</p><p></p><p>However the result is always following:</p><p>[ATTACH]163777[/ATTACH]</p><p>The pictures are not stretched correctly <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>Here the code:</p><p>[HTML] <Grid Margin="-180,-85,-180,-80" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"></p><p> <Grid.RowDefinitions></p><p> <RowDefinition Height="Auto"/></p><p> <RowDefinition Height="*"/></p><p> <RowDefinition Height="Auto"/></p><p> </Grid.RowDefinitions></p><p> <Grid.ColumnDefinitions></p><p> <ColumnDefinition Width="Auto"/></p><p> </Grid.ColumnDefinitions></p><p> </p><p> <Image Grid.Row="0" Source="blur_top.png" HorizontalAlignment="Stretch" Opacity="0.9"/></p><p> <Image Grid.Row="1" Source="blur_mid.png" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.9" /></p><p> <Image Grid.Row="2" Source="blur_bot.png" HorizontalAlignment="Stretch" Opacity="0.9"/></p><p> <Grid.Effect></p><p> <ZoomBlurEffect BlurAmount="0.1" /></p><p> </Grid.Effect> </p><p> </Grid>[/HTML]</p><p></p><p>Does anyone have an idea?</p></blockquote><p></p>
[QUOTE="ge2301, post: 1132739, member: 145639"] I had introduced a new popup dialog style by applying a blur to a blurred picture :) The result is visually attractive, just one problem is remaining and I try to solve it currently. In case the dialog window is very long, the blur effect is not stretched well (See screenshots). [ATTACH]163775[/ATTACH] [ATTACH]163776[/ATTACH] Current code for the blur: [HTML] <Rectangle Fill="{ThemeResource DialogBorderBrush}" RadiusY="{ThemeResource DialogBorderCornerRadius}" RadiusX="{ThemeResource DialogBorderCornerRadius}" Margin="-120,-85,-120,-80" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.9"> <Rectangle.Fill> <ImageBrush ImageSource="blur.png" Stretch="Fill"/> </Rectangle.Fill> <Rectangle.Effect> <ZoomBlurEffect BlurAmount="0.1" /> </Rectangle.Effect> </Rectangle>[/HTML] I tried to devide the blur picture into 3 pieces, while only the middle piece is stretched vertically and all pieces are stretched horizontally. The blur effect is applied to the grid in the end. This would make the rounding of the blur aspect indedendent and it should look better. However the result is always following: [ATTACH]163777[/ATTACH] The pictures are not stretched correctly :( Here the code: [HTML] <Grid Margin="-180,-85,-180,-80" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Image Grid.Row="0" Source="blur_top.png" HorizontalAlignment="Stretch" Opacity="0.9"/> <Image Grid.Row="1" Source="blur_mid.png" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.9" /> <Image Grid.Row="2" Source="blur_bot.png" HorizontalAlignment="Stretch" Opacity="0.9"/> <Grid.Effect> <ZoomBlurEffect BlurAmount="0.1" /> </Grid.Effect> </Grid>[/HTML] Does anyone have an idea? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom