Skip to content

Commit 11b66de

Browse files
committed
Uno fixes
1 parent 0780dae commit 11b66de

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

components/SegmentedControl/src/SegmentedItem/SegmentedItem.xaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
1+
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
22
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
33
xmlns:labs="using:CommunityToolkit.Labs.WinUI"
44
xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
@@ -547,21 +547,21 @@
547547
Margin="0,0,8,-2"
548548
VerticalAlignment="Center">
549549
<ContentPresenter x:Name="PART_IconPresenter"
550+
win:HighContrastAdjustment="None"
550551
Content="{TemplateBinding Icon}"
551-
Foreground="{TemplateBinding Foreground}"
552-
HighContrastAdjustment="None" />
552+
Foreground="{TemplateBinding Foreground}" />
553553
</Viewbox>
554554
<ContentPresenter x:Name="PART_ContentPresenter"
555555
Grid.Column="1"
556556
Margin="0,1,0,0"
557557
VerticalAlignment="Center"
558+
win:HighContrastAdjustment="None"
558559
win:OpticalMarginAlignment="TrimSideBearings"
559560
BackgroundSizing="{TemplateBinding BackgroundSizing}"
560561
Content="{TemplateBinding Content}"
561562
ContentTransitions="{TemplateBinding ContentTransitions}"
562563
FontWeight="{TemplateBinding FontWeight}"
563-
Foreground="{TemplateBinding Foreground}"
564-
HighContrastAdjustment="None" />
564+
Foreground="{TemplateBinding Foreground}" />
565565
</StackPanel>
566566
</Grid>
567567
</ControlTemplate>
@@ -778,20 +778,20 @@
778778
Margin="0,0,8,-2"
779779
VerticalAlignment="Center">
780780
<ContentPresenter x:Name="PART_IconPresenter"
781+
win:HighContrastAdjustment="None"
781782
Content="{TemplateBinding Icon}"
782-
Foreground="{TemplateBinding Foreground}"
783-
HighContrastAdjustment="None" />
783+
Foreground="{TemplateBinding Foreground}" />
784784
</Viewbox>
785785
<ContentPresenter x:Name="PART_ContentPresenter"
786786
Grid.Column="1"
787787
Margin="0,1,0,0"
788788
VerticalAlignment="Center"
789+
win:HighContrastAdjustment="None"
789790
win:OpticalMarginAlignment="TrimSideBearings"
790791
BackgroundSizing="{TemplateBinding BackgroundSizing}"
791792
ContentTransitions="{TemplateBinding ContentTransitions}"
792793
FontWeight="{TemplateBinding FontWeight}"
793-
Foreground="{TemplateBinding Foreground}"
794-
HighContrastAdjustment="None" />
794+
Foreground="{TemplateBinding Foreground}" />
795795
</StackPanel>
796796
</Grid>
797797
</ControlTemplate>

0 commit comments

Comments
 (0)