TextLabel: Vertically centered TextLabels take the 'AutoResize' property into account correctly.

[GB.GUI.BASE]
* BUG: TextLabel: Vertically centered TextLabels take the 'AutoResize' property into account correctly.
This commit is contained in:
Benoît Minisini 2022-08-07 22:21:02 +02:00
parent fda74fceaf
commit 0c0256e190

View file

@ -145,7 +145,7 @@ Public Sub _UpdateSize()
'Debug Me.Name; ": "; Me.Font.ToString();; W
If Align.IsMiddle($iAlign) Then
If Align.IsMiddle($iAlign) And If Not $bRichText Then
If H < Me.H Then H = Me.H
Endif