IDEMPIERE-724 Zk: Make iDempiere theme more easily customizable - Fix locator and location popups. Required fixed popup height for ZK to auto adjust the position based on available space.
This commit is contained in:
parent
cdead096cf
commit
a0a5caa279
|
@ -190,6 +190,7 @@ public class WLocationDialog extends Window implements EventListener<Event>
|
||||||
initLocation();
|
initLocation();
|
||||||
//
|
//
|
||||||
this.setWidth("350px");
|
this.setWidth("350px");
|
||||||
|
this.setHeight("360px"); // required fixed height for ZK to auto adjust the position based on available space
|
||||||
this.setSclass("popup-dialog");
|
this.setSclass("popup-dialog");
|
||||||
this.setClosable(true);
|
this.setClosable(true);
|
||||||
this.setBorder("normal");
|
this.setBorder("normal");
|
||||||
|
@ -336,7 +337,7 @@ public class WLocationDialog extends Window implements EventListener<Event>
|
||||||
Borderlayout borderlayout = new Borderlayout();
|
Borderlayout borderlayout = new Borderlayout();
|
||||||
this.appendChild(borderlayout);
|
this.appendChild(borderlayout);
|
||||||
borderlayout.setHflex("1");
|
borderlayout.setHflex("1");
|
||||||
borderlayout.setVflex("min");
|
borderlayout.setVflex("1");
|
||||||
|
|
||||||
Center centerPane = new Center();
|
Center centerPane = new Center();
|
||||||
centerPane.setSclass("dialog-content");
|
centerPane.setSclass("dialog-content");
|
||||||
|
|
|
@ -232,7 +232,7 @@ public class WLocatorDialog extends Window implements EventListener<Event>
|
||||||
Borderlayout borderlayout = new Borderlayout();
|
Borderlayout borderlayout = new Borderlayout();
|
||||||
this.appendChild(borderlayout);
|
this.appendChild(borderlayout);
|
||||||
borderlayout.setHflex("1");
|
borderlayout.setHflex("1");
|
||||||
borderlayout.setVflex("min");
|
borderlayout.setVflex("1");
|
||||||
|
|
||||||
Center centerPane = new Center();
|
Center centerPane = new Center();
|
||||||
centerPane.setSclass("dialog-content");
|
centerPane.setSclass("dialog-content");
|
||||||
|
@ -252,6 +252,7 @@ public class WLocatorDialog extends Window implements EventListener<Event>
|
||||||
this.setClosable(true);
|
this.setClosable(true);
|
||||||
this.setBorder("normal");
|
this.setBorder("normal");
|
||||||
this.setWidth("260px");
|
this.setWidth("260px");
|
||||||
|
this.setHeight("300px"); // required fixed height for ZK to auto adjust the position based on available space
|
||||||
this.setShadow(true);
|
this.setShadow(true);
|
||||||
this.setAttribute(Window.MODE_KEY, Window.MODE_HIGHLIGHTED);
|
this.setAttribute(Window.MODE_KEY, Window.MODE_HIGHLIGHTED);
|
||||||
this.setSizable(true); // Elaine 2009/02/02 - window set to resizable
|
this.setSizable(true); // Elaine 2009/02/02 - window set to resizable
|
||||||
|
|
Loading…
Reference in New Issue