mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
@@ -9,7 +9,6 @@
|
|||||||
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary.MergedDictionaries>
|
||||||
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" ControlsResourcesVersion="Version2" />
|
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" ControlsResourcesVersion="Version2" />
|
||||||
<ResourceDictionary Source="/Controls/KeyVisual/KeyVisual.xaml" />
|
<ResourceDictionary Source="/Controls/KeyVisual/KeyVisual.xaml" />
|
||||||
<ResourceDictionary Source="/Controls/SettingExpander/SettingExpanderStyles.xaml"/>
|
|
||||||
<ResourceDictionary Source="/Styles/_FontSizes.xaml" />
|
<ResourceDictionary Source="/Styles/_FontSizes.xaml" />
|
||||||
<ResourceDictionary Source="/Styles/_Thickness.xaml" />
|
<ResourceDictionary Source="/Styles/_Thickness.xaml" />
|
||||||
<ResourceDictionary Source="/Styles/_Sizes.xaml" />
|
<ResourceDictionary Source="/Styles/_Sizes.xaml" />
|
||||||
@@ -17,7 +16,7 @@
|
|||||||
<ResourceDictionary Source="/Styles/Button.xaml"/>
|
<ResourceDictionary Source="/Styles/Button.xaml"/>
|
||||||
|
|
||||||
<ResourceDictionary Source="/Themes/Colors.xaml"/>
|
<ResourceDictionary Source="/Themes/Colors.xaml"/>
|
||||||
|
<ResourceDictionary Source="/Themes/SettingsExpanderStyles.xaml"/>
|
||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
|
|
||||||
<Thickness x:Key="InfoBarIconMargin">6,16,16,16</Thickness>
|
<Thickness x:Key="InfoBarIconMargin">6,16,16,16</Thickness>
|
||||||
|
|||||||
@@ -417,7 +417,7 @@
|
|||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Controls\SettingExpander\SettingExpanderStyles.xaml">
|
<Page Include="Themes\SettingsExpanderStyles.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -53,6 +53,17 @@
|
|||||||
IsBackButtonVisible="Collapsed"
|
IsBackButtonVisible="Collapsed"
|
||||||
MenuItemsSource="{x:Bind Modules, Mode=OneTime}"
|
MenuItemsSource="{x:Bind Modules, Mode=OneTime}"
|
||||||
MenuItemTemplate="{StaticResource NavigationViewMenuItem}">
|
MenuItemTemplate="{StaticResource NavigationViewMenuItem}">
|
||||||
|
<winui:NavigationView.PaneCustomContent>
|
||||||
|
<StackPanel Grid.Column="0" Margin="16"
|
||||||
|
Orientation="Vertical">
|
||||||
|
<TextBlock x:Uid="Oobe_GettingStarted"
|
||||||
|
TextWrapping="Wrap"
|
||||||
|
FontWeight="SemiBold"
|
||||||
|
AutomationProperties.HeadingLevel="Level1"
|
||||||
|
Style="{StaticResource PageTitleStyle}"
|
||||||
|
Margin="0,0,0,16" />
|
||||||
|
</StackPanel>
|
||||||
|
</winui:NavigationView.PaneCustomContent>
|
||||||
<winui:NavigationView.Content>
|
<winui:NavigationView.Content>
|
||||||
<Frame x:Name="NavigationFrame" />
|
<Frame x:Name="NavigationFrame" />
|
||||||
</winui:NavigationView.Content>
|
</winui:NavigationView.Content>
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Views
|
|||||||
|
|
||||||
Modules.Insert((int)PowerToysModulesEnum.Overview, new OobePowerToysModule()
|
Modules.Insert((int)PowerToysModulesEnum.Overview, new OobePowerToysModule()
|
||||||
{
|
{
|
||||||
ModuleName = loader.GetString("Oobe_GettingStarted"),
|
ModuleName = loader.GetString("Oobe_Welcome"),
|
||||||
Tag = "Overview",
|
Tag = "Overview",
|
||||||
IsNew = false,
|
IsNew = false,
|
||||||
Icon = "\uEF3C",
|
Icon = "\uEF3C",
|
||||||
|
|||||||
@@ -1322,6 +1322,9 @@ From there, simply click on a Markdown file or SVG icon in the File Explorer and
|
|||||||
<value>Video Conference</value>
|
<value>Video Conference</value>
|
||||||
<comment>Do not localize this string</comment>
|
<comment>Do not localize this string</comment>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Oobe_Welcome" xml:space="preserve">
|
||||||
|
<value>Welcome</value>
|
||||||
|
</data>
|
||||||
<data name="OOBE_Settings.Content" xml:space="preserve">
|
<data name="OOBE_Settings.Content" xml:space="preserve">
|
||||||
<value>Open Settings</value>
|
<value>Open Settings</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -2,6 +2,15 @@
|
|||||||
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">
|
||||||
|
|
||||||
|
<!--Common texts-->
|
||||||
|
<Style x:Key="PageTitleStyle" TargetType="TextBlock">
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
<Setter Property="FontWeight" Value="SemiBold" />
|
||||||
|
<Setter Property="FontSize" Value="{StaticResource LargeFontSize}" />
|
||||||
|
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
|
||||||
|
<Setter Property="TextWrapping" Value="NoWrap" />
|
||||||
|
</Style>
|
||||||
|
|
||||||
<Style x:Key="OobeSubtitleStyle" TargetType="TextBlock">
|
<Style x:Key="OobeSubtitleStyle" TargetType="TextBlock">
|
||||||
<Setter Property="Margin" Value="0,16,0,0" />
|
<Setter Property="Margin" Value="0,16,0,0" />
|
||||||
<Setter Property="Foreground" Value="{ThemeResource DefaultTextForegroundThemeBrush}" />
|
<Setter Property="Foreground" Value="{ThemeResource DefaultTextForegroundThemeBrush}" />
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
<ResourceDictionary
|
<ResourceDictionary
|
||||||
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">
|
||||||
|
|
||||||
|
<x:Double x:Key="LargeFontSize">24</x:Double>
|
||||||
|
<x:Double x:Key="MediumFontSize">16</x:Double>
|
||||||
|
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
<ResourceDictionary
|
<ResourceDictionary
|
||||||
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">
|
||||||
|
|
||||||
|
<!-- OOBE -->
|
||||||
|
<Thickness x:Key="OobePageContentMargin">32, 24, 32, 24</Thickness>
|
||||||
|
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
Reference in New Issue
Block a user