Hi,
The LuaStyle::horizontal_align seems to have no effect on label type of widget. Even if I set it to "center" I still require to add padding manually to center the text.
Label widget is a child of frame element if that helps.
[0.17.57] LuaStyle::horizontal_align does nothing for label
Re: [0.17.57] LuaStyle::horizontal_align does nothing for label
The rule is specified in a way, that label can't stretch more than the text (the reason is related to layouting more complicated things). It is doable probably through putting it into horizontal flow and setting center on the horizontal flow.