xaml - How to decrease line height -


i'm trying reduce line spacing decrease lineheight. less default not become.

<textblock style="{staticresource font36}" lineheight="6">list<linebreak/>with parameters</textblock> 

try change linestackingstrategy blocklineheight or baselinetobaseline, so:

<textblock style="{staticresource font36}" linestackingstrategy="blocklineheight" lineheight="6" >list<linebreak/>with parameters</textblock> 

more info line stacking strategy here: what line stacking strategy in silverlight textblock control?


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

fatal error - Android RunTimeError: Java.lang.RunTimeException: Unable to Instantiate activity -

php - Retrieving data submitted with Yii's CActiveForm -