Skip to content

Commit

Permalink
FIxed tooltip style issues (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeyr committed May 19, 2024
1 parent f2eeac3 commit cbddbfc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions InternetTest/InternetTest/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1663,6 +1663,10 @@
<Style x:Key="{x:Type ToolTip}" TargetType="ToolTip">
<Setter Property="OverridesDefaultStyle" Value="true" />
<Setter Property="HasDropShadow" Value="True" />
<Setter Property="FontSize" Value="12" />
<Setter Property="FontWeight" Value="Normal" />
<Setter Property="Background" Value="{DynamicResource Background1}" />
<Setter Property="Foreground" Value="{DynamicResource Foreground1}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToolTip">
Expand All @@ -1672,15 +1676,15 @@
Height="{TemplateBinding Height}"
Margin="5"
Background="{TemplateBinding Background}"
BorderBrush="{DynamicResource LightAccentColor}"
BorderBrush="{DynamicResource LightAccent}"
BorderThickness="1">
<Border.Effect>
<DropShadowEffect
BlurRadius="10"
Direction="270"
Opacity="0.1"
ShadowDepth="0"
Color="{DynamicResource Accent}" />
Color="{DynamicResource AccentColor}" />
</Border.Effect>
<ContentPresenter
Margin="4"
Expand Down

0 comments on commit cbddbfc

Please sign in to comment.