mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
@@ -1,10 +1,11 @@
|
|||||||
<winuiex:WindowEx
|
<winuiex:WindowEx
|
||||||
x:Class="Microsoft.PowerToys.Settings.UI.ScoobeWindow"
|
x:Class="Microsoft.PowerToys.Settings.UI.ScoobeWindow"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="using:Microsoft.PowerToys.Settings.UI.OOBE.Views"
|
xmlns:local="using:Microsoft.PowerToys.Settings.UI.OOBE.Views"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:ui="using:CommunityToolkit.WinUI"
|
||||||
xmlns:winuiex="using:WinUIEx"
|
xmlns:winuiex="using:WinUIEx"
|
||||||
Width="1100"
|
Width="1100"
|
||||||
Height="700"
|
Height="700"
|
||||||
@@ -59,6 +60,12 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</NavigationView.MenuItemTemplate>
|
</NavigationView.MenuItemTemplate>
|
||||||
|
<NavigationView.PaneFooter>
|
||||||
|
<NavigationViewItem
|
||||||
|
x:Uid="Scoobe_OpenSettings"
|
||||||
|
Icon="{ui:FontIcon Glyph=}"
|
||||||
|
Tapped="OpenSettingsItem_Tapped" />
|
||||||
|
</NavigationView.PaneFooter>
|
||||||
<NavigationView.Content>
|
<NavigationView.Content>
|
||||||
<Grid>
|
<Grid>
|
||||||
<ProgressRing
|
<ProgressRing
|
||||||
|
|||||||
@@ -206,5 +206,10 @@ namespace Microsoft.PowerToys.Settings.UI
|
|||||||
{
|
{
|
||||||
navigationView.IsPaneOpen = !navigationView.IsPaneOpen;
|
navigationView.IsPaneOpen = !navigationView.IsPaneOpen;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void OpenSettingsItem_Tapped(object sender, Microsoft.UI.Xaml.Input.TappedRoutedEventArgs e)
|
||||||
|
{
|
||||||
|
App.OpenSettingsWindow();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2195,6 +2195,9 @@ From there, simply click on one of the supported files in the File Explorer and
|
|||||||
<data name="ScoobeWindow_TitleTxt.Title" xml:space="preserve">
|
<data name="ScoobeWindow_TitleTxt.Title" xml:space="preserve">
|
||||||
<value>What's new in PowerToys</value>
|
<value>What's new in PowerToys</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Scoobe_OpenSettings.Content" xml:space="preserve">
|
||||||
|
<value>Settings</value>
|
||||||
|
</data>
|
||||||
<data name="ScoobeReleaseNotes_ViewOnGitHub" xml:space="preserve">
|
<data name="ScoobeReleaseNotes_ViewOnGitHub" xml:space="preserve">
|
||||||
<value>View on GitHub</value>
|
<value>View on GitHub</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
Reference in New Issue
Block a user