Skip to content

Commit 609442b

Browse files
Update CommandBar to use WinUI 2.6 style over reveal, looks nice!
1 parent 5eb5717 commit 609442b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Microsoft.Toolkit.Uwp.UI.Controls.Core/TabbedCommandBar/TabbedCommandBarItem.xaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
TargetType="controls:TabbedCommandBarItem" />
2828

2929
<Style x:Key="DefaultTabbedCommandBarItemStyle"
30-
BasedOn="{StaticResource CommandBarRevealStyle}"
30+
BasedOn="{StaticResource DefaultCommandBarStyle}"
3131
TargetType="controls:TabbedCommandBarItem">
3232
<!-- TODO: Copy CommandBarRevealStyle instead of referencing it -->
3333
<Setter Property="HorizontalAlignment" Value="Stretch" />
@@ -38,8 +38,6 @@
3838
(See this message in the WinUI channel: https://discord.com/channels/372137812037730304/671870147354427422/771057634203402300 )
3939
Hardcoding the height of the CommandBar works, but it's a bit of a hack.
4040
-->
41-
<!-- TODO: Increased this for now, but if we want more compact, we have to identify the padding/margin that changed between WinUI 2.5 and 2.6 -->
42-
<Setter Property="Height" Value="48" />
4341
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
4442
</Style>
4543

0 commit comments

Comments
 (0)