For aligning ButtonField in a HorizontalFieldManager
---------------------------------------------------------------------------
HorizontalFieldManager hfm = new HorizontalFieldManager(HorizontalFieldManager.FIELD_HCENTER); ButtonField button = new ButtonField("Button",DrawStyle.HCENTER); hfm.add(button);
|
For aligning LabelFIeld Center
---------------------------------------------------------------------------
LabelField labelField = new LabelField("Center Label", LabelField.USE_ALL_WIDTH | DrawStyle.HCENTER);
|
Thanks
ReplyDeleteThanks ..Have a good day
ReplyDeletethank for ur help
ReplyDelete