mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
Fix color issue in search box (#6222)
This commit is contained in:
committed by
GitHub
parent
fe8727bd94
commit
777e1dc48c
@@ -9,7 +9,7 @@
|
|||||||
d:DesignWidth="720">
|
d:DesignWidth="720">
|
||||||
<UserControl.Resources>
|
<UserControl.Resources>
|
||||||
<Style x:Key="QueryTextBoxStyle" TargetType="{x:Type TextBox}">
|
<Style x:Key="QueryTextBoxStyle" TargetType="{x:Type TextBox}">
|
||||||
<Setter Property="Background" Value="{DynamicResource SystemChromeLow}" />
|
<Setter Property="Background" Value="Transparent" />
|
||||||
<Setter Property="BorderThickness" Value="0" />
|
<Setter Property="BorderThickness" Value="0" />
|
||||||
<Setter Property="Foreground" Value="{DynamicResource ControlTextBrushKey}"/>
|
<Setter Property="Foreground" Value="{DynamicResource ControlTextBrushKey}"/>
|
||||||
<Setter Property="CaretBrush" Value="{DynamicResource ControlTextBrushKey}"/>
|
<Setter Property="CaretBrush" Value="{DynamicResource ControlTextBrushKey}"/>
|
||||||
@@ -102,11 +102,12 @@
|
|||||||
x:Name="AutoCompleteTextBlock"
|
x:Name="AutoCompleteTextBlock"
|
||||||
x:FieldModifier="public"
|
x:FieldModifier="public"
|
||||||
Opacity="0.6"
|
Opacity="0.6"
|
||||||
Canvas.ZIndex="0"
|
Canvas.ZIndex="-1"
|
||||||
Margin="24, 0, 14, 0"
|
Margin="24, 0, 14, 0"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
FontSize="24"
|
FontSize="24"
|
||||||
Foreground="{DynamicResource TextControlPlaceholderForeground}"
|
Foreground="{DynamicResource TextControlPlaceholderForeground}"
|
||||||
|
Background="{DynamicResource SystemChromeLow}"
|
||||||
RenderOptions.ClearTypeHint="Enabled"
|
RenderOptions.ClearTypeHint="Enabled"
|
||||||
/>
|
/>
|
||||||
<TextBlock
|
<TextBlock
|
||||||
|
|||||||
Reference in New Issue
Block a user