2014-05-08, 08:54
I seem to be stumbling on an issue with the textbox's auto height feature. It seems to clip text when the font uses <linespacing> tag. Here's a couple examples with and without <linespacing> included.
With <linespacing>:
Without <linespacing>:
Code for the textbox:
Code for the font:
Can anyone confirm possible bug or maybe I'm doing something wrong?
With <linespacing>:
Without <linespacing>:
Code for the textbox:
Code:
<control type="textbox">
<width>320</width>
<height min="48" max="200">auto</height>
<label>$VAR[NowPlaying_First_Label]</label>
<textcolor>Label_Normal</textcolor>
<font>Fullscreen-Info-Large</font>
<aligny>top</aligny>
<autoscroll>false</autoscroll>
</control>
Code for the font:
Code:
<font>
<name>Fullscreen-Info-Large</name>
<filename>SegoeWP-Bold.ttf</filename>
<size>36</size>
<style>uppercase</style>
<linespacing>0.65</linespacing>
</font>
Can anyone confirm possible bug or maybe I'm doing something wrong?