Skip to content

Commit

Permalink
improve notificationcard
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Jul 23, 2024
1 parent 32554d7 commit b91cc34
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/OneWare.Core/Styles/NotificationCard.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,24 @@
<Setter Property="Width" Value="350" />
<Setter Property="FontSize" Value="14" />
<Setter Property="Foreground" Value="{DynamicResource ThemeForegroundBrush}" />
<Setter Property="RenderTransformOrigin" Value="50%,75%" />
<Setter Property="Template">
<ControlTemplate>
<Border Background="{TemplateBinding Background}" BorderThickness="1"
BorderBrush="{DynamicResource ThemeBorderLowBrush}" CornerRadius="3"
BoxShadow="0 3 4 0 #4F000000" Margin="5 5 5 10">
<Panel>
<!--
<LayoutTransformControl Name="PART_LayoutTransformControl"
UseRenderTransform="True">
<Border Background="{TemplateBinding Background}" BorderThickness="1"
BorderBrush="{DynamicResource ThemeBorderLowBrush}" CornerRadius="3"
BoxShadow="0 3 4 0 #4F000000" Margin="5 5 5 10">
<Panel>
<!--
<Button Command="{Binding $parent[NotificationCard].Close}" Margin="5" Height="15" Width="15"
HorizontalAlignment="Right" VerticalAlignment="Top">
<Image Source="{DynamicResource MaterialDesign.Close}" />
</Button>-->
<ContentControl Content="{TemplateBinding Content}" />
</Panel>
</Border>
<ContentControl Content="{TemplateBinding Content}" />
</Panel>
</Border>
</LayoutTransformControl>
</ControlTemplate>
</Setter>
</Style>
Expand Down

0 comments on commit b91cc34

Please sign in to comment.