mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-28 20:23:24 +08:00
fix: fix bottom bar styles.
This commit is contained in:
@@ -117,17 +117,21 @@
|
|||||||
DockPanel.Dock="Left"
|
DockPanel.Dock="Left"
|
||||||
AutomationProperties.Name="Toggle navigation drawer"
|
AutomationProperties.Name="Toggle navigation drawer"
|
||||||
ToolTip.Tip="{DynamicResource STRING_DRAWERPAGE_TOGGLE_NAVIGATION_DRAWER}"
|
ToolTip.Tip="{DynamicResource STRING_DRAWERPAGE_TOGGLE_NAVIGATION_DRAWER}"
|
||||||
|
Width="{DynamicResource ButtonDefaultHeight}"
|
||||||
|
Height="{DynamicResource ButtonDefaultHeight}"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
IsChecked="{Binding #PART_SplitView.IsPaneOpen, Mode=TwoWay}">
|
IsChecked="{Binding #PART_SplitView.IsPaneOpen, Mode=TwoWay}">
|
||||||
<Panel>
|
<Panel>
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Data="{DynamicResource DrawerPaneButtonIcon}"
|
Data="{DynamicResource DrawerPageMenuGlyph}"
|
||||||
|
Foreground="{DynamicResource DrawerPagePaneButtonForeground}"
|
||||||
IsVisible="{TemplateBinding DrawerIcon, Converter={x:Static ObjectConverters.IsNull}}"
|
IsVisible="{TemplateBinding DrawerIcon, Converter={x:Static ObjectConverters.IsNull}}"
|
||||||
Theme="{DynamicResource InnerPathIcon}" />
|
Theme="{DynamicResource InnerPathIcon}" />
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
Name="PART_BottomPaneIconPresenter"
|
Name="PART_BottomPaneIconPresenter"
|
||||||
Content="{TemplateBinding DrawerIcon}"
|
Content="{TemplateBinding DrawerIcon}"
|
||||||
ContentTemplate="{TemplateBinding DrawerIconTemplate}"
|
ContentTemplate="{TemplateBinding DrawerIconTemplate}"
|
||||||
|
Foreground="{DynamicResource DrawerPagePaneButtonForeground}"
|
||||||
IsVisible="{TemplateBinding DrawerIcon, Converter={x:Static ObjectConverters.IsNotNull}}" />
|
IsVisible="{TemplateBinding DrawerIcon, Converter={x:Static ObjectConverters.IsNotNull}}" />
|
||||||
</Panel>
|
</Panel>
|
||||||
</ToggleButton>
|
</ToggleButton>
|
||||||
|
|||||||
Reference in New Issue
Block a user