displaying 2 editFields side-by-side
Please Login to Remove!
Hi,
I'm having a lot of trouble trying to display two EditFields side-by-side. I try the following:
HorizontalFieldManager hfm = new HorizontalFieldManage(HORIZONTAL_SCROLL);
BasicEditField befA = new BasicEditField("ab","",4,EditField.FILTER_NUMERIC) ;
BasicEditField befB = new BasicEditField("cd","",4,EditField.FILTER_NUMERIC) ;
hfm.add(befA);
hfm.add(befB);
add(hfm);
But when I do this, I can see befA on the screen, and the screen can scroll over to the right, but I never see the label fro befB. I can enter numbers into befB, although I can't see them.
Thanks for all the help!
Sunny.
|