【发布时间】:2016-09-24 17:25:17
【问题描述】:
有什么方法可以降低 XAML UWP 中底部 AppBar 的高度?我有以下 XAML 代码:
<Page.BottomAppBar>
<CommandBar Height="35">
<CommandBar.SecondaryCommands>
<AppBarButton Label="Share"/>
<AppBarButton Label="Settings"/>
<AppBarButton Label="Settings"/>
<AppBarButton Label="Settings"/>
<AppBarButton Label="Settings"/>
<AppBarButton Label="Settings"/>
<AppBarButton Label="Settings"/>
</CommandBar.SecondaryCommands>
</CommandBar>
</Page.BottomAppBar>
问题是,当我将高度设置为 35 或低于 50 时,我看到底部 AppBar 上方有一个额外的空白区域。如果我使用黑色或蓝色作为背景色,则该空白区域会呈现为白色
【问题讨论】:
-
你找到解决办法了吗?