Skip to content

Commit be5debf

Browse files
committed
Applied XAML styling
1 parent 1a02f3e commit be5debf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

labs/MarqueeText/src/MarqueeText.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
5-
xmlns:labs="using:CommunityToolkit.Labs.WinUI.MarqueeTextRns">
4+
xmlns:labs="using:CommunityToolkit.Labs.WinUI.MarqueeTextRns"
5+
xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
66

77
<Style TargetType="labs:MarqueeText">
88
<Setter Property="IsTabStop" Value="False" />
@@ -75,20 +75,20 @@
7575
<TranslateTransform x:Name="MarqueeTransform" />
7676
</StackPanel.RenderTransform>
7777
<TextBlock x:Name="Segment1"
78+
win:FontStretch="{TemplateBinding FontStretch}"
7879
CharacterSpacing="{TemplateBinding CharacterSpacing}"
7980
FontFamily="{TemplateBinding FontFamily}"
8081
FontSize="{TemplateBinding FontSize}"
81-
win:FontStretch="{TemplateBinding FontStretch}"
8282
FontStyle="{TemplateBinding FontStyle}"
8383
FontWeight="{TemplateBinding FontWeight}"
8484
Foreground="{TemplateBinding Foreground}"
8585
Text="{TemplateBinding Text}"
8686
TextDecorations="{TemplateBinding TextDecorations}" />
8787
<TextBlock x:Name="Segment2"
88+
win:FontStretch="{TemplateBinding FontStretch}"
8889
CharacterSpacing="{TemplateBinding CharacterSpacing}"
8990
FontFamily="{TemplateBinding FontFamily}"
9091
FontSize="{TemplateBinding FontSize}"
91-
win:FontStretch="{TemplateBinding FontStretch}"
9292
FontStyle="{TemplateBinding FontStyle}"
9393
FontWeight="{TemplateBinding FontWeight}"
9494
Foreground="{TemplateBinding Foreground}"

0 commit comments

Comments
 (0)