+2
Solucionado
valignment seems to be broken
With the following example I would expect three boxes with the first box containing text top left aligned, the second box containing centered text, the third box containing text bottom right aligned. Instead only the horizontal alignment seems to work.
<wire>
<main>
<text name="text1" align="center" ypos="100" width="600" height="150" borderwidth="2" bordercolor="#ffffff" alignment="left" valignment="top" color="#ffffff" font="georgia" size="20" text="This has alignment=left, valignment=top" />
<text name="text2" bottomof="text1" align="center" width="600" height="150" borderwidth="2" bordercolor="#ffffff" alignment="center" valignment="center" color="#ffffff" font="georgia" size="20" text="This has alignment=center, valignment=center" />
<text name="text3" bottomof="text2" align="center" width="600" height="150" borderwidth="2" bordercolor="#ffffff" alignment="right" valignment="bottom" color="#ffffff" font="georgia" size="20" text="This has alignment=right, valignment=bottom" />
</main>
</wire>
Servicio de atención al cliente por UserEcho
Let me take a look at this issue. I will get back with you.
If we replace a text object's text on the fly the height is not recalculated when the 'fit' attribute is used. This means that text objects that have dynamic text must have a fixed height, which in turn means that you can only ever have the text vertically centered.
We are aware of an issue with text tags that do not allow then to wrap text. Because of this issue fit height functions a bit different when you replace the text value using an assign or similar action. We have an active ticket logged for the matter and hope to resolve it soon.
I was offering the create option as a possible workaround in the meantime.
Thanks for the comment. I will check with the features team and see where this ticket is.