Polish UI alignment, navigation, info layout, and localization

This commit is contained in:
Meik
2026-03-05 13:39:19 +01:00
parent 041e3abf76
commit 3432166a8e
9 changed files with 111 additions and 41 deletions

View File

@@ -7,6 +7,41 @@
xmlns:resx="clr-namespace:C4IT_CustomerPanel.Properties"
mc:Ignorable="d"
d:DesignHeight="500" d:DesignWidth="800">
<UserControl.Resources>
<Style x:Key="ReadAllIconStyle"
TargetType="{x:Type Image}">
<Setter Property="Cursor"
Value="Hand" />
<Setter Property="Width"
Value="24" />
<Setter Property="Height"
Value="24" />
<Setter Property="Opacity"
Value="0.92" />
<Setter Property="RenderTransformOrigin"
Value="0.5,0.5" />
<Setter Property="RenderTransform">
<Setter.Value>
<ScaleTransform ScaleX="1"
ScaleY="1" />
</Setter.Value>
</Setter>
<Style.Triggers>
<Trigger Property="IsMouseOver"
Value="True">
<Setter Property="Opacity"
Value="1" />
<Setter Property="RenderTransform">
<Setter.Value>
<ScaleTransform ScaleX="1.06"
ScaleY="1.06" />
</Setter.Value>
</Setter>
</Trigger>
</Style.Triggers>
</Style>
</UserControl.Resources>
<Grid x:Name="GridMain"
x:FieldModifier="private"
Width="500">
@@ -71,13 +106,11 @@
<Image Source="{DynamicResource appbar_list_check}"
x:Name="buttonReadAllAnnouncements"
x:FieldModifier="private"
Style="{StaticResource ReadAllIconStyle}"
ToolTip="{x:Static resx:Resources.removeMarkups}"
Tag="readAllAnnouncements"
Cursor="Hand"
PreviewMouseDown="ReadAll_PreviewMouseDown"
Grid.Column="2"
RenderTransformOrigin="1.536,1.429"
Height="24"
Width="24"
Canvas.Left="338"
Canvas.Top="14" />
</Canvas>