Jump to content
LaunchBox Community Forums

Game View Help Request


Recommended Posts

Hi All,

I have a game view request but am not proficient in xaml and no matter how much I try I cannot seem to figure out how to make these changes.

Basically I LOVE the CleanBG theme and want something similar in my Games view. 

If someone can do, or show me how to do it. I would like the wheel to be vertical, to eliminate the bottom image (screenshot) and vertical center the top image. I will use the game video as the background so I don't want the screen cluttered with pictures.

Any guidance is appreciated!

Untitled.png

Link to comment
Share on other sites

In WheelGamesView.xaml

Change 


CurveAmount="4.5"

to 


CurveAmount="0" 

It's the curvature of the wheel, it speaks for itself.


And for the other change: 

Delete the line 44 (screens insert):


<transitions:TransitionPresenter Grid.Row="3"  TransitionSelector="{Binding ImageVideoTransitionSelector}" Content="{Binding ImageVideoView}" IsContentVideo="true" />

And change the line 43 like that (just change the row to the 3rd): 


<transitions:TransitionPresenter Grid.Row="3" TransitionSelector="{Binding ImageTransitionSelector}" Content="{Binding ImageView}" />

That's all. :)

Link to comment
Share on other sites

You have to remove row 1 and 3 and make only one. Then center the content vertically. Like this: 


<Grid Grid.Column="0">

	<Grid.RowDefinitions>

		<RowDefinition Height="4.2*" /> <!-- top margin-->

		<RowDefinition Height="90*" /> <!-- main row-->

		<RowDefinition Height="4.2*" /> <!-- bottom margin-->

	</Grid.RowDefinitions>

	<transitions:TransitionPresenter Grid.Row="1" TransitionSelector="{Binding ImageTransitionSelector}" Content="{Binding ImageView}" VerticalAlignment="Center" />

</Grid>

 

Edited by niglurion
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...