Skip to content

Commit

Permalink
fix(CheckBox): Avoid resource name clash for Path Data resources with…
Browse files Browse the repository at this point in the history
… xamlmerge
  • Loading branch information
kazo0 committed Apr 6, 2022
1 parent f84c56a commit 77e2b76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/library/Uno.Material/Styles/Controls/CheckBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
xmlns:xamarin="http://uno.ui/xamarin"
mc:Ignorable="android ios not_ios wasm xamarin">

<x:String x:Key="HyphenGlyphPathStyle">M0,0L32,0 32,5.3 0,5.3z</x:String>
<x:String x:Key="CheckGlyphPathStyle">M28.718018,0L32,3.2819897 10.666016,24.616999 0,13.951997 3.2810059,10.670007 10.666016,18.055033z</x:String>
<x:String x:Key="CheckBoxHyphenGlyphPathStyle">M0,0L32,0 32,5.3 0,5.3z</x:String>
<x:String x:Key="CheckBoxCheckGlyphPathStyle">M28.718018,0L32,3.2819897 10.666016,24.616999 0,13.951997 3.2810059,10.670007 10.666016,18.055033z</x:String>

<GridLength x:Key="CheckAreaLength">40</GridLength>
<x:Double x:Key="FocusAreaSize">40</x:Double>
Expand Down Expand Up @@ -488,7 +488,7 @@
CornerRadius="2" />

<Path x:Name="HyphenGlyph"
Data="{StaticResource HyphenGlyphPathStyle}"
Data="{StaticResource CheckBoxHyphenGlyphPathStyle}"
Fill="{TemplateBinding Foreground}"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Expand All @@ -500,7 +500,7 @@
xamarin:Margin="0,2,0,0" />

<Path x:Name="CheckGlyph"
Data="{StaticResource CheckGlyphPathStyle}"
Data="{StaticResource CheckBoxCheckGlyphPathStyle}"
Fill="{TemplateBinding Foreground}"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Expand Down
8 changes: 4 additions & 4 deletions src/library/Uno.Material/Styles/Controls/Flyout.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
xmlns:android="http://uno.ui/android"
mc:Ignorable="not_win ios android">

<x:String x:Key="CheckGlyphPathStyle">M30.561941,0L31.997,1.393004 10.467954,23.597999 0,15.350999 1.2379759,13.780992 10.287961,20.909952z</x:String>
<x:String x:Key="RightArrowPathStyle">M0,0L25.194,16 0,32z</x:String>
<x:String x:Key="FlyoutCheckGlyphPathStyle">M30.561941,0L31.997,1.393004 10.467954,23.597999 0,15.350999 1.2379759,13.780992 10.287961,20.909952z</x:String>
<x:String x:Key="FlyoutRightArrowPathStyle">M0,0L25.194,16 0,32z</x:String>
<x:Double x:Key="FlyoutPresenterMinWidth">112</x:Double>
<x:Double x:Key="FlyoutMenuItemHeight">48</x:Double>
<GridLength x:Key="FlyoutMenuItemRightMargin">38</GridLength>
Expand Down Expand Up @@ -365,7 +365,7 @@
</Grid.ColumnDefinitions>

<Path x:Name="CheckGlyph"
Data="{StaticResource CheckGlyphPathStyle}"
Data="{StaticResource FlyoutCheckGlyphPathStyle}"
Fill="{TemplateBinding Foreground}"
VerticalAlignment="Center"
Stretch="Uniform"
Expand Down Expand Up @@ -537,7 +537,7 @@
Grid.Column="0" />

<Path x:Name="SubItemChevron"
Data="{StaticResource RightArrowPathStyle}"
Data="{StaticResource FlyoutRightArrowPathStyle}"
Fill="{TemplateBinding Foreground}"
VerticalAlignment="Center"
Stretch="Uniform"
Expand Down

0 comments on commit 77e2b76

Please sign in to comment.