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:
hieplq 2016-02-17 11:11:03 +07:00
parent 9fb9ca04d3
commit 9c4355791d
4 changed files with 6 additions and 6 deletions

View File

@ -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();

View File

@ -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

View File

@ -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();

View File

@ -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%");