Thread
:
How to center text in lwuit-graphics with drawString
View Single Post
11-16-2010, 01:03 PM
PM User
|
#
2
earni23
New Coder
Join Date: Feb 2010
Posts: 95
Thanks: 14
Thanked 0 Times in 0 Posts
solved it with the following x-value: dimension.getWidth() / 2 - font.stringWidth(text)
earni23
View Public Profile
Find More Posts by earni23