Skip to content

Commit

Permalink
💾 Feat(Dashboard): 追加主界面导航栏的悬浮提示
Browse files Browse the repository at this point in the history
  • Loading branch information
Dynesshely committed Oct 2, 2022
1 parent 25f4249 commit 4eb25df
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions KitX Dashboard/Views/MainWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
<ui:NavigationView.MenuItems>
<ui:NavigationViewItem x:Name="Page_Home"
Margin="0,5,0,0"
Tag="Page_Home">
Tag="Page_Home"
ToolTip.Tip="{DynamicResource Text_MainWindow_NavigationView_Home}">
<ui:NavigationViewItem.Content>
<StackPanel Margin="-3,0,0,0"
HorizontalAlignment="Left"
Expand All @@ -75,7 +76,9 @@
</StackPanel>
</ui:NavigationViewItem.Content>
</ui:NavigationViewItem>
<ui:NavigationViewItem x:Name="Page_Lib" Tag="Page_Lib">
<ui:NavigationViewItem x:Name="Page_Lib"
Tag="Page_Lib"
ToolTip.Tip="{DynamicResource Text_MainWindow_NavigationView_Lib}">
<ui:NavigationViewItem.Content>
<StackPanel Margin="-3,0,0,0"
HorizontalAlignment="Left"
Expand All @@ -89,7 +92,9 @@
</StackPanel>
</ui:NavigationViewItem.Content>
</ui:NavigationViewItem>
<ui:NavigationViewItem x:Name="Page_Repo" Tag="Page_Repo">
<ui:NavigationViewItem x:Name="Page_Repo"
Tag="Page_Repo"
ToolTip.Tip="{DynamicResource Text_MainWindow_NavigationView_Repo}">
<ui:NavigationViewItem.Content>
<StackPanel Margin="-3,0,0,0"
HorizontalAlignment="Left"
Expand All @@ -103,7 +108,9 @@
</StackPanel>
</ui:NavigationViewItem.Content>
</ui:NavigationViewItem>
<ui:NavigationViewItem x:Name="Page_Device" Tag="Page_Device">
<ui:NavigationViewItem x:Name="Page_Device"
Tag="Page_Device"
ToolTip.Tip="{DynamicResource Text_MainWindow_NavigationView_Devices}">
<ui:NavigationViewItem.Content>
<StackPanel Margin="-3,0,0,0"
HorizontalAlignment="Left"
Expand All @@ -120,7 +127,9 @@
</ui:NavigationView.MenuItems>

<ui:NavigationView.FooterMenuItems>
<ui:NavigationViewItem x:Name="Page_Market" Tag="Page_Market">
<ui:NavigationViewItem x:Name="Page_Market"
Tag="Page_Market"
ToolTip.Tip="{DynamicResource Text_MainWindow_NavigationView_Market}">
<ui:NavigationViewItem.Content>
<StackPanel Margin="-3,0,0,0"
HorizontalAlignment="Left"
Expand All @@ -134,7 +143,9 @@
</StackPanel>
</ui:NavigationViewItem.Content>
</ui:NavigationViewItem>
<ui:NavigationViewItem x:Name="Page_Account" Tag="Page_Account">
<ui:NavigationViewItem x:Name="Page_Account"
Tag="Page_Account"
ToolTip.Tip="{DynamicResource Text_MainWindow_NavigationView_Account}">
<ui:NavigationViewItem.Content>
<StackPanel Margin="-3,0,0,0"
HorizontalAlignment="Left"
Expand All @@ -148,7 +159,9 @@
</StackPanel>
</ui:NavigationViewItem.Content>
</ui:NavigationViewItem>
<ui:NavigationViewItem x:Name="Page_Settings" Tag="Page_Settings">
<ui:NavigationViewItem x:Name="Page_Settings"
Tag="Page_Settings"
ToolTip.Tip="{DynamicResource Text_MainWindow_NavigationView_Settings}">
<ui:NavigationViewItem.Content>
<StackPanel Margin="-3,0,0,0"
HorizontalAlignment="Left"
Expand Down

0 comments on commit 4eb25df

Please sign in to comment.