How to adjust padding in xaml label
Posted
by Bjarne
on Stack Overflow
See other posts from Stack Overflow
or by Bjarne
Published on 2009-05-06T05:40:10Z
Indexed on
2010/03/24
7:53 UTC
Read the original article
Hit count: 270
How can I make the top and bottom padding smaller in the following label? As I see it, the bounding box in much bigger than it needs to be, but the padding is set to 0, so it cannot be any smaller.
<Label Background="AliceBlue" Content="1800" FontSize="170" FontWeight="Bold" Foreground="Gray" Padding="0" />
© Stack Overflow or respective owner