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

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