Fix a typo.

[GB.GUI.BASE]
* BUG: Fix a typo.
This commit is contained in:
gambas 2021-03-05 12:24:15 +01:00 committed by Christof Thalhofer
parent f0094e7f68
commit e6b72c10e8

View file

@ -163,7 +163,6 @@ Public Sub UserControl_Draw()
Dim P As Integer
Dim F As Integer
Dim X As Integer
Dim iAlign As Integer
Dim hExt As RectF
If $iBorder Then
@ -200,7 +199,7 @@ Public Sub UserControl_Draw()
' Endif
If $bRichText Then
Paint.DrawRichText($sText, X, P, Ceil(hExt.W), Me.H - P * ^ 2, $iAlign)
Paint.DrawRichText($sText, X, P, Ceil(hExt.W), Me.H - P * 2, $iAlign)
Else
Paint.DrawText($sText, X, P, Ceil(hExt.W), Me.H - P * 2, $iAlign)
Endif