mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
* Add shell page headings * add headings for all the PTsettings * add heading level 1 for the heading of each page * Add heading level to the style instead of redifining it multiple times * revert adding level2 for each control * add heading level for run as admin because it does not follow the group style and rather the default style
31 lines
1.4 KiB
XML
31 lines
1.4 KiB
XML
<ResourceDictionary
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
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="SemiLight" />
|
|
<Setter Property="FontSize" Value="{StaticResource LargeFontSize}" />
|
|
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
|
|
<Setter Property="TextWrapping" Value="NoWrap" />
|
|
</Style>
|
|
|
|
<Style x:Key="BodyTextStyle" TargetType="TextBlock">
|
|
<Setter Property="FontWeight" Value="Normal" />
|
|
<Setter Property="FontSize" Value="{StaticResource MediumFontSize}" />
|
|
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
|
|
<Setter Property="TextWrapping" Value="Wrap" />
|
|
</Style>
|
|
|
|
|
|
<Style x:Key="SettingsGroupTitleStyle" TargetType="TextBlock" BasedOn="{StaticResource SubtitleTextBlockStyle}">
|
|
<Setter Property="Margin" Value="0,34,0,4" />
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
<Setter Property="AutomationProperties.HeadingLevel" Value="Level2" />
|
|
</Style>
|
|
|
|
<Style x:Key="SettingsGroupTitleStyleAsHeader" TargetType="TextBlock" BasedOn="{StaticResource SettingsGroupTitleStyle}">
|
|
<Setter Property="Margin" Value="0,0,0,4" />
|
|
</Style>
|
|
</ResourceDictionary> |