Fixed command bar open state
This commit is contained in:
@@ -209,6 +209,12 @@
|
|||||||
<Style TargetType="ScrollViewer">
|
<Style TargetType="ScrollViewer">
|
||||||
<Setter Property="VerticalScrollBarVisibility" Value="Auto" />
|
<Setter Property="VerticalScrollBarVisibility" Value="Auto" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<!-- Remove border/backgroud of command bar -->
|
||||||
|
<SolidColorBrush x:Key="CommandBarBackground" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="CommandBarBackgroundOpen" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="CommandBarBorderBrushOpen" Color="Transparent" />
|
||||||
|
<Thickness x:Key="CommandBarBorderThicknessOpen">0</Thickness>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
|
|
||||||
<!-- Last item must always be the default theme. -->
|
<!-- Last item must always be the default theme. -->
|
||||||
|
|||||||
@@ -185,7 +185,7 @@
|
|||||||
PrimaryCommands="{x:Bind ViewModel.MenuItems, Mode=OneWay}" />
|
PrimaryCommands="{x:Bind ViewModel.MenuItems, Mode=OneWay}" />
|
||||||
</interactivity:Interaction.Behaviors>
|
</interactivity:Interaction.Behaviors>
|
||||||
<CommandBar.Content>
|
<CommandBar.Content>
|
||||||
<Grid Margin="0,6" RowSpacing="4">
|
<Grid Padding="0,5">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto" />
|
<ColumnDefinition Width="Auto" />
|
||||||
<ColumnDefinition Width="*" />
|
<ColumnDefinition Width="*" />
|
||||||
@@ -366,8 +366,8 @@
|
|||||||
Background="{ThemeResource WinoContentZoneBackgroud}"
|
Background="{ThemeResource WinoContentZoneBackgroud}"
|
||||||
BorderBrush="{StaticResource CardStrokeColorDefaultBrush}"
|
BorderBrush="{StaticResource CardStrokeColorDefaultBrush}"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
CornerRadius="10">
|
CornerRadius="7">
|
||||||
<Grid Padding="0">
|
<Grid Margin="1" CornerRadius="7">
|
||||||
|
|
||||||
<Grid Background="White" Visibility="{x:Bind IsDarkEditor, Converter={StaticResource ReverseBooleanToVisibilityConverter}, Mode=OneWay}" />
|
<Grid Background="White" Visibility="{x:Bind IsDarkEditor, Converter={StaticResource ReverseBooleanToVisibilityConverter}, Mode=OneWay}" />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user