You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description: If a Label has a StyleBox with a border, the Valign property aligns text too low. When VAlign is set to 'Center', instead of the text being centered it appears in the bottom. When VAlign is set to 'Bottom', instead of the text being positioned at the bottom, it's positioned outside the label entirely.
The 'Left' and 'Right' Align properties work OK, as does the 'Top' Valign property. They respect the StyleBox borders. The problem appears to specifically affect the bottom border.
Steps to reproduce: Create a Label and set its Valign property to 'Center' or 'Bottom'. Give the Label a StyleBox with a bottom border 5 pixels or larger. The larger the border, the more noticable the bug.
I'd like to note that somehow content margin bottom also has no bearing on a label. It will certainly expand the size of the label if it's too big, but it never effects v-aligned text
Godot version: v3.2.2.stable.official
OS/device including version: Windows 8 desktop
Issue description: If a Label has a StyleBox with a border, the Valign property aligns text too low. When VAlign is set to 'Center', instead of the text being centered it appears in the bottom. When VAlign is set to 'Bottom', instead of the text being positioned at the bottom, it's positioned outside the label entirely.
The 'Left' and 'Right' Align properties work OK, as does the 'Top' Valign property. They respect the StyleBox borders. The problem appears to specifically affect the bottom border.
Steps to reproduce: Create a Label and set its Valign property to 'Center' or 'Bottom'. Give the Label a StyleBox with a bottom border 5 pixels or larger. The larger the border, the more noticable the bug.
Minimal reproduction project: label-glitch.zip
The text was updated successfully, but these errors were encountered: