10-14-2012 02:02 AM - edited 10-14-2012 02:48 AM
this the code
HorizontalFieldManager hfmBanner = new HorizontalFieldManager(
USE_ALL_WIDTH) {
public int getPreferredWidth() {
return Display.getWidth();
}
};
clearCart = new ButtonField("Clear", FIELD_RIGHT);
clearCart.setChangeListener(this);
hfmBanner.add(clearCart);
add(hfmBanner);field apeer at left why i want to put
please anybody help me
10-14-2012 03:01 AM
why dont u try this ??
Field.FIELD_RIGHT when intializing horizontalfieldmanager instead of USE_ALL_WIDTH
10-14-2012 03:24 AM
10-14-2012 03:31 AM
i think u can use more than one horizontal field manager then ....
10-14-2012 03:53 AM
10-15-2012 09:48 AM
HorizontalFieldManager does not honor horizontal alignment flags because it has its own horizontal placement algorithm. What exactly are you trying to achieve?