小编Bja*_*rne的帖子

如何在xaml标签中调整填充

如何在下面的标签中使顶部和底部填充更小?在我看来,边界框比它需要的大得多,但填充设置为0,所以它不能更小.

<Label Background="AliceBlue" Content="1800" FontSize="170" FontWeight="Bold" Foreground="Gray" Padding="0" />
Run Code Online (Sandbox Code Playgroud)

xaml label padding

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

label ×1

padding ×1

xaml ×1