From 20cdb6a6851bd213d1f9b62a4a25f7dd4f51ffe3 Mon Sep 17 00:00:00 2001 From: Steve Bilogan Date: Thu, 19 Sep 2024 13:16:14 -0400 Subject: [PATCH] fix: add missing resources for appbarbutton (#1475) (cherry picked from commit 3b05672829d063fd366b6d7ec76176cd64c492c9) --- doc/styles/AppBarButton.md | 20 +++++++++++++++++++ doc/toc.yml | 2 ++ .../Styles/Controls/v2/AppBarButton.xaml | 11 ++++++++++ 3 files changed, 33 insertions(+) create mode 100644 doc/styles/AppBarButton.md diff --git a/doc/styles/AppBarButton.md b/doc/styles/AppBarButton.md new file mode 100644 index 000000000..f26e4bff0 --- /dev/null +++ b/doc/styles/AppBarButton.md @@ -0,0 +1,20 @@ +--- +uid: Uno.Themes.Styles.AppBarButton +--- + +# AppBarButton Control + +## Styles + +| Style Key | IsDefaultStyle\* | +|--------------------------|------------------| +| `AppBarButtonStyle` | True | + +IsDefaultStyle\*: Styles in this column will be set as the default implicit style for the matching control + +## Lightweight Styling + +| Key | Type | Value | +|-------------------------------------------------------|-------------------|------------------------------------| +| `AppBarButtonHeight` | `Double` | `64` | +| `AppBarButtonWidth` | `Double` | `64` | diff --git a/doc/toc.yml b/doc/toc.yml index 27e5adff1..eaecfab1b 100644 --- a/doc/toc.yml +++ b/doc/toc.yml @@ -45,6 +45,8 @@ # ***************** Reference\Lightweight Styling ****************** - name: Lightweight Styling items: + - name: AppBarButton + href: styles/AppBarButton.md - name: Button href: styles/Button.md - name: CheckBox diff --git a/src/library/Uno.Material/Styles/Controls/v2/AppBarButton.xaml b/src/library/Uno.Material/Styles/Controls/v2/AppBarButton.xaml index 316f52e74..78149e4b8 100644 --- a/src/library/Uno.Material/Styles/Controls/v2/AppBarButton.xaml +++ b/src/library/Uno.Material/Styles/Controls/v2/AppBarButton.xaml @@ -8,6 +8,17 @@ xmlns:ios="http://uno.ui/ios" xmlns:uuc="using:Uno.UI.Controls" mc:Ignorable="android ios"> + + + 64 + 64 + + + 64 + 64 + + +