From 887e25c872f49e094108e0a05eade38f07615409 Mon Sep 17 00:00:00 2001 From: Ariel De Los Santos Date: Wed, 20 Sep 2023 11:21:57 -0400 Subject: [PATCH] feat(ProgressBar): lightweight styling for Progress controls --- .../Styles/Controls/v2/ProgressBar.xaml | 2 + .../Uno.Themes.WinUI.Markup/Theme.Styles.cs | 15 +++---- .../Theme/ProgressBar.cs | 39 +++++++++++++++++++ .../Theme/ProgressRing.cs | 33 ++++++++++++++++ 4 files changed, 80 insertions(+), 9 deletions(-) create mode 100644 src/library/Uno.Themes.WinUI.Markup/Theme/ProgressBar.cs create mode 100644 src/library/Uno.Themes.WinUI.Markup/Theme/ProgressRing.cs diff --git a/src/library/Uno.Material/Styles/Controls/v2/ProgressBar.xaml b/src/library/Uno.Material/Styles/Controls/v2/ProgressBar.xaml index 0edf29c25..88071b895 100644 --- a/src/library/Uno.Material/Styles/Controls/v2/ProgressBar.xaml +++ b/src/library/Uno.Material/Styles/Controls/v2/ProgressBar.xaml @@ -9,12 +9,14 @@ + 250 4 + 250 4 diff --git a/src/library/Uno.Themes.WinUI.Markup/Theme.Styles.cs b/src/library/Uno.Themes.WinUI.Markup/Theme.Styles.cs index 1d74554b6..313f5e854 100644 --- a/src/library/Uno.Themes.WinUI.Markup/Theme.Styles.cs +++ b/src/library/Uno.Themes.WinUI.Markup/Theme.Styles.cs @@ -1,4 +1,4 @@ -using Microsoft.UI.Xaml; +using Microsoft.UI.Xaml; using Uno.Extensions.Markup.Internals; namespace Uno.Themes.Markup @@ -109,16 +109,13 @@ public static class PipsPager public static ResourceValue