Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 60123db

Browse files
[[New widget]] label in android raised button now in correct place
1 parent 86dc422 commit 60123db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/widgets/pushbutton/pushbutton.lcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ private handler drawAndroidRaisedButton() returns nothing
327327

328328
set the font of this canvas to fetchFont()
329329
set the paint of this canvas to fetchPaint("label")
330-
fill text tLabel at center of my bounds on this canvas
330+
fill text tLabel at center of rectangle [0, 0, mWidth-5, mHeight-5] on this canvas
331331
end handler
332332

333333
private handler drawAndroidFlatButton() returns nothing

0 commit comments

Comments
 (0)