TextBlock margins
Posted: 13 Nov 2019, 16:14
Hello,
We have an element that is declared as following:
Depending on the font size there is a margin on top of the text. We would like this margin to be smaller than it currently turns out to be. How can we achieve this?
See image below:

We have an element that is declared as following:
Code: Select all
<TextBlock x:Name="SubValue" Grid.Row="2" Style="{StaticResource Style.TextBlock.Medium}" Background="Magenta" Margin="4,0,0,0" TextAlignment="Right" VerticalAlignment="Top" Text="-0.12"/>
See image below:
