Fix ticket overview marquee viewport width

This commit is contained in:
Meik
2026-07-19 00:00:44 +02:00
parent 2fbf2e2d2d
commit b88b325d02

View File

@@ -28,20 +28,22 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Label">
<Border x:Name="PART_TickerContainer"
Background="Transparent"
ClipToBounds="True"
<Border Background="Transparent"
Padding="{TemplateBinding Padding}">
<TextBlock x:Name="PART_TickerText"
Text="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}"
Foreground="{TemplateBinding Foreground}"
FontFamily="{TemplateBinding FontFamily}"
FontSize="{TemplateBinding FontSize}"
FontStretch="{TemplateBinding FontStretch}"
FontStyle="{TemplateBinding FontStyle}"
FontWeight="{TemplateBinding FontWeight}"
TextTrimming="CharacterEllipsis"
VerticalAlignment="Center" />
<Border x:Name="PART_TickerContainer"
Background="Transparent"
ClipToBounds="True">
<TextBlock x:Name="PART_TickerText"
Text="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}"
Foreground="{TemplateBinding Foreground}"
FontFamily="{TemplateBinding FontFamily}"
FontSize="{TemplateBinding FontSize}"
FontStretch="{TemplateBinding FontStretch}"
FontStyle="{TemplateBinding FontStyle}"
FontWeight="{TemplateBinding FontWeight}"
TextTrimming="CharacterEllipsis"
VerticalAlignment="Center" />
</Border>
</Border>
</ControlTemplate>
</Setter.Value>