IDEMPIERE-2969:update to use zk8-osgi library
listBox need value of vflex to scroll http://books.zkoss.org/wiki/ZK_Component_Reference/Data/Listbox#Scrollable_Listboxes wide apply
This commit is contained in:
parent
9fb9ca04d3
commit
9c4355791d
|
@ -530,11 +530,11 @@ public class WAcctViewer extends Window implements EventListener<Event>
|
|||
resultPanel.appendChild(resultCenter);
|
||||
ZKUpdateUtil.setHflex(table, "1");
|
||||
ZKUpdateUtil.setVflex(table, true);
|
||||
ZKUpdateUtil.setHeight(table, "99%");
|
||||
//ZKUpdateUtil.setHeight(table, "99%");
|
||||
table.setStyle("position: absolute;");
|
||||
resultCenter.appendChild(table);
|
||||
ZKUpdateUtil.setHflex(table, "1");
|
||||
ZKUpdateUtil.setVflex(table, "1");
|
||||
//ZKUpdateUtil.setVflex(table, "1");
|
||||
table.addEventListener(Events.ON_DOUBLE_CLICK, this);
|
||||
|
||||
pagingPanel = new South();
|
||||
|
|
|
@ -211,7 +211,7 @@ implements IFormController, EventListener<Event>, WTableModelListener, ValueChan
|
|||
mainLayout.appendChild(center);
|
||||
center.appendChild(miniTable);
|
||||
ZKUpdateUtil.setWidth(miniTable, "99%");
|
||||
ZKUpdateUtil.setHeight(miniTable, "99%");
|
||||
//ZKUpdateUtil.setHeight(miniTable, "99%");
|
||||
center.setStyle("border: none");
|
||||
|
||||
// Command Panel
|
||||
|
|
|
@ -183,7 +183,7 @@ public class WGenForm extends ADForm implements EventListener<Event>, WTableMode
|
|||
center.appendChild(miniTable);
|
||||
ZKUpdateUtil.setVflex(miniTable, "1");
|
||||
ZKUpdateUtil.setHflex(miniTable, "1");
|
||||
ZKUpdateUtil.setHeight(miniTable, "99%");
|
||||
//ZKUpdateUtil.setHeight(miniTable, "99%");
|
||||
confirmPanelSel.addActionListener(this);
|
||||
//
|
||||
tabpanel = new DesktopTabpanel();
|
||||
|
|
|
@ -285,7 +285,7 @@ public class WMatch extends Match
|
|||
p.appendChild(xMatchedBorder);
|
||||
p.appendChild(xMatchedTable);
|
||||
ZKUpdateUtil.setWidth(xMatchedTable, "99%");
|
||||
ZKUpdateUtil.setHeight(xMatchedTable, "85%");
|
||||
//ZKUpdateUtil.setHeight(xMatchedTable, "85%");
|
||||
p.setStyle("width: 100%; height: 100%; padding: 0; margin: 0");
|
||||
north.appendChild(p);
|
||||
ZKUpdateUtil.setHeight(north, "44%");
|
||||
|
@ -294,7 +294,7 @@ public class WMatch extends Match
|
|||
centerLayout.appendChild(south);
|
||||
south.setStyle("border: none");
|
||||
ZKUpdateUtil.setWidth(xMatchedToTable, "99%");
|
||||
ZKUpdateUtil.setHeight(xMatchedToTable, "99%");
|
||||
//ZKUpdateUtil.setHeight(xMatchedToTable, "99%");
|
||||
south.appendChild(xMatchedToTable);
|
||||
ZKUpdateUtil.setHeight(south, "44%");
|
||||
|
||||
|
|
Loading…
Reference in New Issue