mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Refactor GPU detail page header to use NavigationBar for improved navigation
This commit is contained in:
@@ -19,7 +19,8 @@
|
|||||||
|
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<utu:NavigationBar Grid.Row="0"
|
<utu:NavigationBar Grid.Row="0"
|
||||||
Content="{Binding Path=Title}">
|
Content="{Binding Path=Title}"
|
||||||
|
MainCommandMode="Action">
|
||||||
<utu:NavigationBar.MainCommand>
|
<utu:NavigationBar.MainCommand>
|
||||||
<AppBarButton Icon="Back"
|
<AppBarButton Icon="Back"
|
||||||
Label="Back"
|
Label="Back"
|
||||||
|
|||||||
@@ -17,26 +17,17 @@
|
|||||||
<RowDefinition Height="*" />
|
<RowDefinition Height="*" />
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
<!-- Header with Back Button -->
|
<!-- Header -->
|
||||||
<Grid Grid.Row="0"
|
<utu:NavigationBar Grid.Row="0"
|
||||||
Padding="8"
|
Content="{Binding Path=Title}"
|
||||||
Background="{ThemeResource SystemControlBackgroundChromeMediumBrush}">
|
MainCommandMode="Action">
|
||||||
<Grid.ColumnDefinitions>
|
<utu:NavigationBar.MainCommand>
|
||||||
<ColumnDefinition Width="Auto" />
|
<AppBarButton Icon="Back"
|
||||||
<ColumnDefinition Width="*" />
|
Label="Back"
|
||||||
</Grid.ColumnDefinitions>
|
Command="{Binding GoBackCommand}"
|
||||||
<AppBarButton Grid.Column="0"
|
AutomationProperties.Name="Go back" />
|
||||||
Icon="Back"
|
</utu:NavigationBar.MainCommand>
|
||||||
Label="Back"
|
</utu:NavigationBar>
|
||||||
Command="{Binding GoBackCommand}"
|
|
||||||
AutomationProperties.Name="Go back" />
|
|
||||||
<TextBlock Grid.Column="1"
|
|
||||||
Text="GPU Details"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
FontSize="18"
|
|
||||||
FontWeight="SemiBold" />
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
<!-- Content -->
|
<!-- Content -->
|
||||||
<ScrollViewer Grid.Row="1">
|
<ScrollViewer Grid.Row="1">
|
||||||
|
|||||||
Reference in New Issue
Block a user