I ma new to BB development. I have a field manager defined and set like:
horizontalField= new HorizontalFieldManager(Manager.USE_ALL_WIDTH);
setStatus(horizontalField);
I have a button and a checkbox
CheckboxField chkBuffer=new CheckboxField("Buffer" ,true);
ButtonField sendButton=new ButtonField("Send")
When I try to add these to the horizontal FM, only check box appears and the button is not visible for some reason. I add them like
horizontalField.add(chkBuffer);
horizontalField.add(sendButton);
Any ideas about what can be going wrong ?
try this -
final CheckboxField chk=new CheckboxField(){
protected void layout(int width, int height) {
super.layout(25, 20);
}
};