09-25-2008 03:03 PM
I want to center the text in a label. The label takes up all the width of the screen, but the text inside it won't center.
LabelField lbl = new LabelField("center this", LabelField.USE_ALL_WIDTH | LabelField.FIELD_HCENTER);
Am I missing something massively simple?
Thanks.
Solved! Go to Solution.
09-25-2008 03:46 PM
09-25-2008 04:49 PM
09-25-2008 07:13 PM
Try this:
LabelField lbl = new LabelField("center this", LabelField.USE_ALL_WIDTH | DrawStyle.HCENTER);
01-29-2009 08:47 PM