From 5a9abe71e37c9c2e53f0c9cde223dacb9992d074 Mon Sep 17 00:00:00 2001 From: Kunal Shah <37922021+Kunal22shah@users.noreply.github.com> Date: Tue, 18 Jun 2024 19:24:22 -0400 Subject: [PATCH] chore: remove platform specific, native commandBar styles (#1421) (cherry picked from commit 9b440f00084218fa228ce60637e6b757e6c37309) --- .../Styles/Controls/v2/CommandBar.xaml | 114 ++---------------- .../Controls/CommandBarSamplePage.xaml | 44 +++---- .../Controls/CommandBarSamplePage.xaml.cs | 11 +- .../CommandBarSample_NestedPage1.xaml | 71 ----------- .../CommandBarSample_NestedPage1.xaml.cs | 59 --------- .../CommandBarSample_NestedPage2.xaml | 42 ------- .../CommandBarSample_NestedPage2.xaml.cs | 11 -- ...3MaterialCommandBarSample_NestedPage1.xaml | 70 ----------- ...terialCommandBarSample_NestedPage1.xaml.cs | 59 --------- ...3MaterialCommandBarSample_NestedPage2.xaml | 41 ------- ...terialCommandBarSample_NestedPage2.xaml.cs | 11 -- .../Uno.Themes.Samples.Shared.projitems | 28 ----- 12 files changed, 26 insertions(+), 535 deletions(-) delete mode 100644 src/samples/UWP/Uno.Themes.Samples.Shared/Content/NestedSamples/CommandBarSample_NestedPage1.xaml delete mode 100644 src/samples/UWP/Uno.Themes.Samples.Shared/Content/NestedSamples/CommandBarSample_NestedPage1.xaml.cs delete mode 100644 src/samples/UWP/Uno.Themes.Samples.Shared/Content/NestedSamples/CommandBarSample_NestedPage2.xaml delete mode 100644 src/samples/UWP/Uno.Themes.Samples.Shared/Content/NestedSamples/CommandBarSample_NestedPage2.xaml.cs delete mode 100644 src/samples/UWP/Uno.Themes.Samples.Shared/Content/NestedSamples/M3MaterialCommandBarSample_NestedPage1.xaml delete mode 100644 src/samples/UWP/Uno.Themes.Samples.Shared/Content/NestedSamples/M3MaterialCommandBarSample_NestedPage1.xaml.cs delete mode 100644 src/samples/UWP/Uno.Themes.Samples.Shared/Content/NestedSamples/M3MaterialCommandBarSample_NestedPage2.xaml delete mode 100644 src/samples/UWP/Uno.Themes.Samples.Shared/Content/NestedSamples/M3MaterialCommandBarSample_NestedPage2.xaml.cs diff --git a/src/library/Uno.Material/Styles/Controls/v2/CommandBar.xaml b/src/library/Uno.Material/Styles/Controls/v2/CommandBar.xaml index 8165931e2..e93428580 100644 --- a/src/library/Uno.Material/Styles/Controls/v2/CommandBar.xaml +++ b/src/library/Uno.Material/Styles/Controls/v2/CommandBar.xaml @@ -9,9 +9,11 @@ xmlns:uuc="using:Uno.UI.Controls" mc:Ignorable="android ios"> + 4 48 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + BasedOn="{StaticResource MaterialBaseCommandBarStyle}" /> +