From 7df83bcf8412011a892aef0991cbb689ca2f2b0a Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Fri, 19 Nov 2021 21:47:48 +0100 Subject: [PATCH 1/2] chore: RatingControl updates --- .../PriorityDefault/RatingControl.xaml | 7 +- .../RatingControl_themeresources.xaml | 1 + .../RatingControl/RatingControlTests.cs | 1 + .../RatingControl/RatingControl.Header.cs | 58 ++++ .../Controls/RatingControl/RatingControl.cs | 44 +-- .../RatingControlAutomationPeer.cs | 287 +++++++++--------- .../RatingControl/RatingControlStates.cs | 25 +- .../Controls/RatingControl/RatingInfoType.cs | 17 +- .../RatingControl/RatingItemFontInfo.cs | 177 +++++------ .../RatingControl/RatingItemImageInfo.cs | 177 +++++------ .../Controls/RatingControl/RatingItemInfo.cs | 23 +- .../Strings/be-BY/Resources.resw | 136 --------- .../Strings/bn-BD/Resources.resw | 136 --------- .../Strings/ha-Latn-NG/Resources.resw | 120 -------- .../Strings/sw-KE/Resources.resw | 136 --------- .../Strings/uz-Latn-UZ/Resources.resw | 2 +- 16 files changed, 428 insertions(+), 919 deletions(-) create mode 100644 src/Uno.UI/Microsoft/UI/Xaml/Controls/RatingControl/RatingControl.Header.cs delete mode 100644 src/Uno.UI/Microsoft/UI/Xaml/Controls/RatingControl/Strings/be-BY/Resources.resw delete mode 100644 src/Uno.UI/Microsoft/UI/Xaml/Controls/RatingControl/Strings/bn-BD/Resources.resw delete mode 100644 src/Uno.UI/Microsoft/UI/Xaml/Controls/RatingControl/Strings/ha-Latn-NG/Resources.resw delete mode 100644 src/Uno.UI/Microsoft/UI/Xaml/Controls/RatingControl/Strings/sw-KE/Resources.resw diff --git a/src/Uno.UI.FluentTheme.v2/Resources/Version2/PriorityDefault/RatingControl.xaml b/src/Uno.UI.FluentTheme.v2/Resources/Version2/PriorityDefault/RatingControl.xaml index 3216dff596f0..ed166a816160 100644 --- a/src/Uno.UI.FluentTheme.v2/Resources/Version2/PriorityDefault/RatingControl.xaml +++ b/src/Uno.UI.FluentTheme.v2/Resources/Version2/PriorityDefault/RatingControl.xaml @@ -1,9 +1,10 @@  + - + + 8,8,4,0 + 12,8,10,8 + 240 + 100 + 12 + 16 + 0,0,10,0 + 16 + 12 + 10,0,0,0 + 29 + 29 + 6,4,10,5 + 16 + 0,6,0,6 - 8,8,4,0 - 12,8,10,8 - 240 - 100 - 12 - 16 - 0,0,10,0 - 16 - 12 - 10,0,0,0 - 29 - 29 - 6,4,10,5 - 16 - 0,6,0,6 0,0,0,4 40 41 diff --git a/src/Uno.UI.FluentTheme.v2/themeresources_v2.xaml b/src/Uno.UI.FluentTheme.v2/themeresources_v2.xaml index 404f59f8badf..a4c7bb93923e 100644 --- a/src/Uno.UI.FluentTheme.v2/themeresources_v2.xaml +++ b/src/Uno.UI.FluentTheme.v2/themeresources_v2.xaml @@ -22598,7 +22598,7 @@ - + @@ -22783,6 +22783,7 @@