Removed redundant styles
This commit is contained in:
parent
5ec4b8d449
commit
dfdfd65021
|
@ -53,17 +53,6 @@
|
||||||
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_Welcome"),
|
ModuleName = loader.GetString("Oobe_GettingStarted"),
|
||||||
Tag = "Overview",
|
Tag = "Overview",
|
||||||
IsNew = false,
|
IsNew = false,
|
||||||
Icon = "\uEF3C",
|
Icon = "\uEF3C",
|
||||||
|
|
|
@ -1174,7 +1174,7 @@ Made with 💗 by Microsoft and the PowerToys community.</value>
|
||||||
<data name="Oobe_PowerToysDescription.Text" xml:space="preserve">
|
<data name="Oobe_PowerToysDescription.Text" xml:space="preserve">
|
||||||
<value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value>
|
<value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Oobe_GettingStarted.Text" xml:space="preserve">
|
<data name="Oobe_GettingStarted" xml:space="preserve">
|
||||||
<value>Getting started</value>
|
<value>Getting started</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Oobe_Launch.Text" xml:space="preserve">
|
<data name="Oobe_Launch.Text" xml:space="preserve">
|
||||||
|
@ -1322,9 +1322,6 @@ 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,15 +2,6 @@
|
||||||
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}" />
|
||||||
|
|
|
@ -2,7 +2,4 @@
|
||||||
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,8 +1,4 @@
|
||||||
<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>
|
Loading…
Reference in a new issue