Skip to content

Commit

Permalink
Fixed tooltip style issues (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeyr committed Aug 17, 2024
1 parent 891d0df commit 78dba3c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ColorPicker/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1965,6 +1965,9 @@
<Style x:Key="{x:Type ToolTip}" TargetType="ToolTip">
<Setter Property="OverridesDefaultStyle" Value="true" />
<Setter Property="HasDropShadow" Value="True" />
<Setter Property="Foreground" Value="{DynamicResource Foreground1}" />
<Setter Property="FontSize" Value="12" />
<Setter Property="FontWeight" Value="Normal" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToolTip">
Expand All @@ -1973,7 +1976,7 @@
Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}"
Margin="5"
Background="{TemplateBinding Background}"
Background="{DynamicResource Background1}"
BorderBrush="{DynamicResource LightAccentColor}"
BorderThickness="1">
<Border.Effect>
Expand All @@ -1985,7 +1988,7 @@
Color="{DynamicResource Accent}" />
</Border.Effect>
<ContentPresenter
Margin="4"
Margin="4 2 4 4"
HorizontalAlignment="Left"
VerticalAlignment="Top" />
</Border>
Expand Down

0 comments on commit 78dba3c

Please sign in to comment.