Fix ticket overview marquee viewport width
This commit is contained in:
@@ -28,20 +28,22 @@
|
|||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate TargetType="Label">
|
<ControlTemplate TargetType="Label">
|
||||||
<Border x:Name="PART_TickerContainer"
|
<Border Background="Transparent"
|
||||||
Background="Transparent"
|
|
||||||
ClipToBounds="True"
|
|
||||||
Padding="{TemplateBinding Padding}">
|
Padding="{TemplateBinding Padding}">
|
||||||
<TextBlock x:Name="PART_TickerText"
|
<Border x:Name="PART_TickerContainer"
|
||||||
Text="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}"
|
Background="Transparent"
|
||||||
Foreground="{TemplateBinding Foreground}"
|
ClipToBounds="True">
|
||||||
FontFamily="{TemplateBinding FontFamily}"
|
<TextBlock x:Name="PART_TickerText"
|
||||||
FontSize="{TemplateBinding FontSize}"
|
Text="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
FontStretch="{TemplateBinding FontStretch}"
|
Foreground="{TemplateBinding Foreground}"
|
||||||
FontStyle="{TemplateBinding FontStyle}"
|
FontFamily="{TemplateBinding FontFamily}"
|
||||||
FontWeight="{TemplateBinding FontWeight}"
|
FontSize="{TemplateBinding FontSize}"
|
||||||
TextTrimming="CharacterEllipsis"
|
FontStretch="{TemplateBinding FontStretch}"
|
||||||
VerticalAlignment="Center" />
|
FontStyle="{TemplateBinding FontStyle}"
|
||||||
|
FontWeight="{TemplateBinding FontWeight}"
|
||||||
|
TextTrimming="CharacterEllipsis"
|
||||||
|
VerticalAlignment="Center" />
|
||||||
|
</Border>
|
||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter.Value>
|
</Setter.Value>
|
||||||
|
|||||||
Reference in New Issue
Block a user