12-16-2010 09:42 AM
I am trying to center align a ButtonField. When I include the code
ButtonField btn = new ButtonField("Log In", ButtonField.FIELD_HCENTER);
the Button successfully aligns to the middle of the screen.
However, when I click the button, the context menu comes up.
In order to get rid of it I have to write.
ButtonField btn = new ButtonField("Log In", ButtonField.CONSUME_CLICK);
I have tried to have them both, but I can't achieve that.
How can I go about accomplishing this?
Any help would be greatly appreciated.
Solved! Go to Solution.