Align checkbox to the right on Blackberry
问题 I need to align a CheckboxField to the right of a fixed text (on Blackberry) like the "manage connections" dialog. The code is: final HorizontalFieldManager hfm = new HorizontalFieldManager(USE_ALL_WIDTH); hfm.add(new LabelField("Test me please", LabelField.ELLIPSIS | FIELD_LEFT | FIELD_VCENTER | USE_ALL_WIDTH)); cbx = new CheckboxField(null, false, FIELD_RIGHT | CheckboxField.NO_USE_ALL_WIDTH); hfm.add(cbx); I tried various combinations of "USE_ALL_WIDTH", "NO_USE_ALL_WIDTH" and similar