- Thread starter
- Admin
- #31
For me it would be nicer looking with less focus on it.
This is one of my mock-ups where the "focus" is not so much on the GroupMenu. Would something like this look better?Maybe you can show your other mockups here.
For me it would be nicer looking with less focus on it.
This is one of my mock-ups where the "focus" is not so much on the GroupMenu. Would something like this look better?Maybe you can show your other mockups here.
You mean aligning on the left side, but as list with vertical orientation? Then there would be 2 problems: The width must be fixed, so some texts will be croped. From navigation point of view this is not ideal and would confilct with future plans. In future the GroupMenuModel will be modified in the direction, that you can scroll through all Tiles, without entering the GroupMenu. The GroupMenu is showing the current group, but for example a left tile is focused, pressing once again "left" and the left sided "Group" is entered automaticallyThe mockup in post #31 looks better than in first post but it looks a bit off. Best would probably be centered but then it doesn't work with weather. Would it look better to align it on the left side of the frames of the tiles?
<Style>
<Style.Triggers>
<Trigger Property="HasFocus" Value="True">
...Show Menu...
</Trigger>
</Style.Triggers>
</Style>
Thanks, tried that.The question is whether HasFocus is 'bubbled' to parent controls, otherwise as soon as the focus moves from the menu button into the menu, the style will no longer apply and the menu will slide back out. If it isn't bubbled (which is what I suspect) there's probably going to need to be code changes.
<Button x:Name="MenuShowButton" Content="Menu" Style="{ThemeResource ButtonWideStyle_GrowOnly}"
Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" Height="180" Margin="25,0,-29,0"
Command="{Command Source={StaticResource MenuModel}, Path=ToggleMenu}">
<Image Source="hiddenmenu_tab.png" />
<Button.Triggers>
<Trigger Property="HasFocus" Value="True">
<Setter Property="Command" Value="{Command Source={StaticResource MenuModel}, Path=ToggleMenu}" />
</Trigger>
</Button.Triggers>
</Button>