Skip to content

Commit

Permalink
better description brush and minor reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
United600 committed Nov 23, 2023
1 parent db4d3a1 commit d9ce397
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Notepads/Resource/CustomSettingsStyle.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</Style>

<Style x:Key="DescriptionTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource CaptionTextBlockStyle}">
<Setter Property="Foreground" Value="{ThemeResource SystemControlForegroundBaseMediumBrush}" />
<Setter Property="Foreground" Value="{ThemeResource SystemControlDescriptionTextForegroundBrush}" />
</Style>

</ResourceDictionary>
11 changes: 5 additions & 6 deletions src/Notepads/Views/Settings/AboutPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,19 @@
UseSystemFocusVisuals="False"
VerticalScrollBarVisibility="Auto"
VerticalScrollMode="Auto">
<StackPanel HorizontalAlignment="Left" Margin="{StaticResource SettingsPageFooterMargin}">
<StackPanel Margin="{StaticResource SettingsPageFooterMargin}" HorizontalAlignment="Left">

<!-- About -->
<StackPanel Orientation="Horizontal" Spacing="12" Style="{StaticResource SettingsSectionStyle}">
<Image x:Name="AppIconImage" Width="90" Margin="-6,0,0,0" Source="/Assets/appicon_ws.png" />
<StackPanel Orientation="Horizontal" Style="{StaticResource SettingsSectionStyle}">
<Image x:Name="AppIconImage" Width="90" Margin="-6,0,12,0" Source="/Assets/appicon_ws.png" />
<StackPanel>
<TextBlock
Margin="0,4,0,0"
Margin="0,4"
FontWeight="Normal"
Style="{StaticResource TitleTextBlockStyle}"
Text="{x:Bind AppName, Mode=OneTime}" />
<TextBlock
Margin="2,4,0,0"
Foreground="{ThemeResource SystemControlForegroundBaseMediumBrush}"
Foreground="{ThemeResource SystemControlDescriptionTextForegroundBrush}"
Style="{StaticResource SubtitleTextBlockStyle}"
Text="{x:Bind AppVersion, Mode=OneTime}" />
</StackPanel>
Expand Down
2 changes: 1 addition & 1 deletion src/Notepads/Views/Settings/AdvancedSettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
UseSystemFocusVisuals="False"
VerticalScrollBarVisibility="Auto"
VerticalScrollMode="Auto">
<StackPanel HorizontalAlignment="Left" Margin="{StaticResource SettingsPageFooterMargin}">
<StackPanel Margin="{StaticResource SettingsPageFooterMargin}" HorizontalAlignment="Left">

<!-- Status Bar -->
<StackPanel x:Name="StatusBarSettingsPanel" Style="{StaticResource SettingsSectionStyle}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
UseSystemFocusVisuals="False"
VerticalScrollBarVisibility="Auto"
VerticalScrollMode="Auto">
<StackPanel HorizontalAlignment="Left" Margin="{StaticResource SettingsPageFooterMargin}">
<StackPanel Margin="{StaticResource SettingsPageFooterMargin}" HorizontalAlignment="Left">

<!-- Theme -->
<StackPanel x:Name="ThemeModeSettingsPanel" Style="{StaticResource SettingsSectionStyle}">
Expand Down
2 changes: 1 addition & 1 deletion src/Notepads/Views/Settings/TextAndEditorSettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
UseSystemFocusVisuals="False"
VerticalScrollBarVisibility="Auto"
VerticalScrollMode="Auto">
<StackPanel HorizontalAlignment="Left" Margin="{StaticResource SettingsPageFooterMargin}">
<StackPanel Margin="{StaticResource SettingsPageFooterMargin}" HorizontalAlignment="Left">

<!-- Text Wrapping -->
<StackPanel x:Name="TextWrappingSettingsPanel" Style="{StaticResource SettingsSectionStyle}">
Expand Down

0 comments on commit d9ce397

Please sign in to comment.