Align config close button and center tab header labels

This commit is contained in:
Meik
2026-03-05 13:04:12 +01:00
parent 0a465698a6
commit ab6cea7457
6 changed files with 27 additions and 15 deletions

View File

@@ -35,8 +35,11 @@
<Label Content="{x:Static resx:Resources.announcement}" <Label Content="{x:Static resx:Resources.announcement}"
FontSize="19" FontSize="19"
FontWeight="SemiBold" FontWeight="SemiBold"
Canvas.Top="8" Canvas.Top="6"
Height="36"
Canvas.Left="40" Canvas.Left="40"
VerticalContentAlignment="Center"
Padding="0"
Foreground="{DynamicResource sectionTitleColor}" /> Foreground="{DynamicResource sectionTitleColor}" />
<ScrollViewer x:Name="CanvasAnnouncements" <ScrollViewer x:Name="CanvasAnnouncements"
x:FieldModifier="private" x:FieldModifier="private"

View File

@@ -162,6 +162,9 @@
FontSize="19" FontSize="19"
FontWeight="SemiBold" FontWeight="SemiBold"
Canvas.Top="8" Canvas.Top="8"
Height="32"
VerticalContentAlignment="Center"
Padding="0"
Canvas.Left="40" /> Canvas.Left="40" />
<StackPanel Canvas.Top="56" <StackPanel Canvas.Top="56"

View File

@@ -33,7 +33,10 @@
<Label Foreground="{DynamicResource sectionTitleColor}" <Label Foreground="{DynamicResource sectionTitleColor}"
FontSize="19" FontSize="19"
FontWeight="SemiBold" FontWeight="SemiBold"
Canvas.Top="8" Canvas.Top="6"
Height="36"
VerticalContentAlignment="Center"
Padding="0"
Canvas.Left="40" Canvas.Left="40"
Content="{x:Static resx:Resources.CustomLink}" /> Content="{x:Static resx:Resources.CustomLink}" />
<ScrollViewer Canvas.Top="56" <ScrollViewer Canvas.Top="56"

View File

@@ -79,7 +79,10 @@
Content="{x:Static resx:Resources.incidents}" Content="{x:Static resx:Resources.incidents}"
FontSize="19" FontSize="19"
FontWeight="SemiBold" FontWeight="SemiBold"
Canvas.Top="8" Canvas.Top="6"
Height="36"
VerticalContentAlignment="Center"
Padding="0"
Canvas.Left="40" /> Canvas.Left="40" />
<ScrollViewer x:Name="CanvasIncident" <ScrollViewer x:Name="CanvasIncident"
Canvas.Top="56" Canvas.Top="56"

View File

@@ -102,7 +102,10 @@
Content="{x:Static resx:Resources.search}" Content="{x:Static resx:Resources.search}"
FontSize="19" FontSize="19"
FontWeight="SemiBold" FontWeight="SemiBold"
Canvas.Top="8" Canvas.Top="6"
Height="36"
VerticalContentAlignment="Center"
Padding="0"
Canvas.Left="40" /> Canvas.Left="40" />
<StackPanel Orientation="Horizontal" <StackPanel Orientation="Horizontal"
Width="350" Width="350"

View File

@@ -113,13 +113,13 @@
<Setter Property="Background" <Setter Property="Background"
Value="Transparent" /> Value="Transparent" />
<Setter Property="BorderBrush" <Setter Property="BorderBrush"
Value="{DynamicResource inputBorderColor}" /> Value="Transparent" />
<Setter Property="BorderThickness" <Setter Property="BorderThickness"
Value="1" /> Value="0" />
<Setter Property="Width" <Setter Property="Width"
Value="30" /> Value="32" />
<Setter Property="Height" <Setter Property="Height"
Value="30" /> Value="32" />
<Setter Property="Cursor" <Setter Property="Cursor"
Value="Hand" /> Value="Hand" />
<Setter Property="Template"> <Setter Property="Template">
@@ -129,7 +129,7 @@
Background="{TemplateBinding Background}" Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}" BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="9"> CornerRadius="10">
<ContentPresenter HorizontalAlignment="Center" <ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" /> VerticalAlignment="Center" />
</Border> </Border>
@@ -138,16 +138,13 @@
Value="True"> Value="True">
<Setter TargetName="ControlBorder" <Setter TargetName="ControlBorder"
Property="Background" Property="Background"
Value="{DynamicResource inactiveButtonColor}" /> Value="{DynamicResource headerControlHoverBackgroundColor}" />
<Setter TargetName="ControlBorder"
Property="BorderBrush"
Value="{DynamicResource itemHoverBorderColor}" />
</Trigger> </Trigger>
<Trigger Property="IsPressed" <Trigger Property="IsPressed"
Value="True"> Value="True">
<Setter TargetName="ControlBorder" <Setter TargetName="ControlBorder"
Property="Opacity" Property="Opacity"
Value="0.92" /> Value="0.9" />
</Trigger> </Trigger>
</ControlTemplate.Triggers> </ControlTemplate.Triggers>
</ControlTemplate> </ControlTemplate>
@@ -196,7 +193,7 @@
Source="/Customer Panel;component/Resources/consulting4it-header1.png" /> Source="/Customer Panel;component/Resources/consulting4it-header1.png" />
<Button Grid.Column="2" <Button Grid.Column="2"
Content="X" Content="X"
FontSize="14" FontSize="15"
FontWeight="Bold" FontWeight="Bold"
Style="{StaticResource ConfigHeaderButtonStyle}" Style="{StaticResource ConfigHeaderButtonStyle}"
Click="OnCloseButtonClick" Click="OnCloseButtonClick"