[1.0.0] Setting .style.single_line = false on label breaks height calculation
Posted: Thu Sep 10, 2020 2:00 pm
When you set single_line to false on a label, the game still considers the height of the label to be that of a single line of text, even if the actual text displayed gets spread over multiple lines. This breaks some situations, like when using vertically_stretchable empty-widgets to vertically center the label. It'll look like this. In appendix is a testmod demonstrating this issue.
(While trying this, I also noticed that the pushers in the example mod don't work at all when added directly to the frame, but that is easily worked around)
(While trying this, I also noticed that the pushers in the example mod don't work at all when added directly to the frame, but that is easily worked around)