Add shadow to bubble hint

This commit is contained in:
Raphire
2026-03-18 23:32:10 +01:00
parent 17ee530962
commit edd815fdbb

View File

@@ -7,23 +7,33 @@
<RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<Grid Grid.Row="0"
Margin="10,10,10,8">
<Border Name="BubbleBorder" <Border Name="BubbleBorder"
Grid.Row="0"
Background="{DynamicResource CardBgColor}" Background="{DynamicResource CardBgColor}"
BorderBrush="{DynamicResource ButtonBorderColor}" BorderBrush="{DynamicResource ButtonBorderColor}"
BorderThickness="1" BorderThickness="1"
CornerRadius="8" CornerRadius="8"
Padding="10,7,10,7"> Padding="10,7,10,7">
<Border.Effect>
<DropShadowEffect BlurRadius="9"
Opacity="0.16"
ShadowDepth="2"
Direction="270"
Color="Black"/>
</Border.Effect>
<TextBlock Name="BubbleText" <TextBlock Name="BubbleText"
Text="View the selected changes here" Text="View the selected changes here"
TextWrapping="Wrap" TextWrapping="Wrap"
MaxWidth="260" MaxWidth="260"
Foreground="{DynamicResource FgColor}"/> Foreground="{DynamicResource FgColor}"/>
</Border> </Border>
</Grid>
<Grid Grid.Row="1" <Grid Grid.Row="1"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Margin="0,-1,0,0" Margin="0,-9,0,0"
Panel.ZIndex="1"
Width="12" Width="12"
Height="8"> Height="8">
<Polygon Name="BubblePointer" <Polygon Name="BubblePointer"