2015-04-09, 10:39
Hey,
The text is correctly centered, even if the line is wrapped.
But as soon the label is too long and will be cropped, the <align>center</align> attribute is going to be ignored.
Example:
PHP Code:
<control type="label">
<width>100</width>
<height>40</height>
<align>center</align>
<font>Hand_16</font>
<textcolor>ccblack</textcolor>
<label>Ich bin ein tolles Album11111111s</label>
<scroll>false</scroll>
<wrapmultiline>true</wrapmultiline>
</control>
The text is correctly centered, even if the line is wrapped.
But as soon the label is too long and will be cropped, the <align>center</align> attribute is going to be ignored.
Example: