So, I am using this button in DialogFullscreenInfo.xml
<control type="button">
<height>auto</height>
<width min="90" max="1664">auto</width>
<label>$INFO[VideoPLayer.Plot]</label>
<textcolor>$VAR[color:Accent]</textcolor>
<font>Slab-22</font>
<aligny>center</aligny>
<textoffsetx>32</textoffsetx>
<wrapmultiline>true</wrapmultiline>
<onclick>noop</onclick>
</control>
It’s a fake button as I am using it to have a “label” with automatically sizing background texture. At 1664 pixels it should move to a new line, any less will resize everything accordingly. The latter works, however I do not understand how the <wrapmultiline> logic works.
The code above does not result in moving to a new line at 1664 pixels (or a bit less depending on word breaks). Instead it goes to a new line after just a few words, resulting in a width of about a quarter of the set maximum width. Raising the minimum width makes it wider, but I would have to raise it to the maximum width to make full use of the space. And this also makes it take up the whole line if the text is shorter, which defies the entire thing I want to accomplish. It’s almost like the maximum is treated as the minimum width.
Is what I want possible at all?