Hello,
This is a very simple piece of test code, just lists a set of text fields to expand the page wide and tall enough. However in iPad, it is only scrollable vertically, NOT horizontally. What might be the problem in this code. I am desperate! please help!
Br,
Xuan
Panel pnlMain = new Panel();
pnlMain.setSizeFull();
VerticalLayout vloContent = (VerticalLayout)pnlMain.getContent();
vloContent.setSizeUndefined();
GridLayout gloTestLayout = new GridLayout(9, 10);
for(int i =0; i <9; i++){
for(int j = 0; j < 7; j++){
TextField txtf= new TextField("test me" + i + j);
txtf.setHeight(170, Sizeable.UNITS_PIXELS);
gloTestLayout.addComponent(txtf, i, j);
}
}
vloContent.addComponent(gloTestLayout);
pnlMain.setStyleName(Runo.PANEL_LIGHT);
mainWindow.setContent(pnlMain);