feat: update layout.

This commit is contained in:
rabbitism
2023-07-02 13:06:21 +08:00
parent c17f7fe18a
commit f8487caeb5

View File

@@ -49,10 +49,11 @@
Header="{Binding MenuHeader}" Header="{Binding MenuHeader}"
ItemsSource="{Binding Children}"> ItemsSource="{Binding Children}">
<u:NavigationMenuItem.Icon> <u:NavigationMenuItem.Icon>
<Ellipse <Border
Width="10" Width="10"
Height="10" Height="10"
Fill="LightGray" /> Background="{DynamicResource SemiBlue6}"
CornerRadius="3" />
</u:NavigationMenuItem.Icon> </u:NavigationMenuItem.Icon>
</u:NavigationMenuItem> </u:NavigationMenuItem>
</DataTemplate> </DataTemplate>
@@ -76,6 +77,7 @@
<ContentControl <ContentControl
Grid.Row="1" Grid.Row="1"
Grid.Column="1" Grid.Column="1"
Margin="12"
Content="{Binding Content}"> Content="{Binding Content}">
<ContentControl.ContentTemplate> <ContentControl.ContentTemplate>
<converters:ViewLocator /> <converters:ViewLocator />