Bug Label control ignores <align> with wrapmultiline and cropped label
#1
Hey,

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:
Image
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#2
What happens if you use a textbox?
Reply
#3
A textbox is working great. Just noticed it, because I used a label control by mistake.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply

Logout Mark Read Team Forum Stats Members Help
Label control ignores <align> with wrapmultiline and cropped label0