[Run] Adding configurable fontsizes (#30541)

* Adding configurable fontsize for result titles

* Update src/settings-ui/Settings.UI/SettingsXAML/Views/PowerLauncherPage.xaml

Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>

* Updating strings

* XAML styler

* CI fix

* PowerLauncher images

* update results height on font change

* Revert "update results height on font change"

This reverts commit 459f57c647.

---------

Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>
Co-authored-by: Stefan Markovic <stefan@janeasystems.com>
This commit is contained in:
Niels Laute
2023-12-26 14:49:50 +01:00
committed by GitHub
parent c098cfb193
commit ccd401fc16
16 changed files with 115 additions and 40 deletions

View File

@@ -33,7 +33,7 @@
<TextBlock
Margin="6,0,0,0"
VerticalAlignment="Center"
FontSize="16"
FontSize="{DynamicResource TitleFontSize}"
Text="{TemplateBinding Tag}">
<TextBlock.Style>
<Style TargetType="{x:Type TextBlock}">
@@ -98,11 +98,13 @@
<local:CustomSearchBox
x:Name="QueryTextBox"
Grid.Column="1"
MinHeight="0"
Margin="0"
VerticalAlignment="Center"
x:FieldModifier="public"
AutomationProperties.Name="{x:Static p:Resources.Query}"
Canvas.ZIndex="0"
FontSize="18"
FontSize="{DynamicResource TitleFontSize}"
Style="{StaticResource QueryTextBoxStyle}"
Tag="{x:Static p:Resources.startTyping}" />
<TextBlock
@@ -112,7 +114,7 @@
VerticalAlignment="Center"
x:FieldModifier="public"
Canvas.ZIndex="-1"
FontSize="18"
FontSize="{DynamicResource TitleFontSize}"
Foreground="{DynamicResource TextPlaceholderColorBrush}" />
<ui:SymbolIcon
AutomationProperties.Name="{x:Static p:Resources.SearchIcon}"