ux: new tooltip style

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2024-11-12 18:28:35 +08:00
parent f66e9c828a
commit 5e60780c9f
No known key found for this signature in database

View file

@ -168,12 +168,13 @@
<Setter Property="TextBlock.TextDecorations" Value=""/> <Setter Property="TextBlock.TextDecorations" Value=""/>
<Setter Property="Template"> <Setter Property="Template">
<ControlTemplate> <ControlTemplate>
<Grid Effect="drop-shadow(0 0 8 #80000000)"> <Grid Effect="drop-shadow(0 0 8 #30000000)">
<Border Margin="8" <Border Margin="8"
Padding="8,6" Padding="8,6"
CornerRadius="4" CornerRadius="4"
Background="{DynamicResource Brush.Popup}" Background="{DynamicResource Brush.Popup}"
BorderThickness="0" BorderBrush="{DynamicResource Brush.Border2}"
BorderThickness="1"
MaxWidth="{TemplateBinding MaxWidth}" MaxWidth="{TemplateBinding MaxWidth}"
MinHeight="{TemplateBinding MinHeight}" MinHeight="{TemplateBinding MinHeight}"
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"> HorizontalAlignment="{TemplateBinding HorizontalAlignment}">