Merge e0683afeeecb
This commit is contained in:
commit
012084434e
|
@ -67,7 +67,7 @@ public class WPAPanel extends Panel implements EventListener<Event>
|
|||
Grid grid = new Grid();
|
||||
appendChild(grid);
|
||||
int gh = options != null && options.chartHeight > 0 ? options.chartHeight+60 : 180;
|
||||
grid.setHeight(m_goals.length * gh / 2 + "px");
|
||||
grid.setHeight((m_goals.length + (m_goals.length % 2)) * gh / 2 + "px");
|
||||
grid.makeNoStrip();
|
||||
|
||||
Rows rows = new Rows();
|
||||
|
|
|
@ -190,6 +190,7 @@ public class WLocationDialog extends Window implements EventListener<Event>
|
|||
initLocation();
|
||||
//
|
||||
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.setClosable(true);
|
||||
this.setBorder("normal");
|
||||
|
@ -336,7 +337,7 @@ public class WLocationDialog extends Window implements EventListener<Event>
|
|||
Borderlayout borderlayout = new Borderlayout();
|
||||
this.appendChild(borderlayout);
|
||||
borderlayout.setHflex("1");
|
||||
borderlayout.setVflex("min");
|
||||
borderlayout.setVflex("1");
|
||||
|
||||
Center centerPane = new Center();
|
||||
centerPane.setSclass("dialog-content");
|
||||
|
|
|
@ -232,7 +232,7 @@ public class WLocatorDialog extends Window implements EventListener<Event>
|
|||
Borderlayout borderlayout = new Borderlayout();
|
||||
this.appendChild(borderlayout);
|
||||
borderlayout.setHflex("1");
|
||||
borderlayout.setVflex("min");
|
||||
borderlayout.setVflex("1");
|
||||
|
||||
Center centerPane = new Center();
|
||||
centerPane.setSclass("dialog-content");
|
||||
|
@ -252,6 +252,7 @@ public class WLocatorDialog extends Window implements EventListener<Event>
|
|||
this.setClosable(true);
|
||||
this.setBorder("normal");
|
||||
this.setWidth("260px");
|
||||
this.setHeight("300px"); // required fixed height for ZK to auto adjust the position based on available space
|
||||
this.setShadow(true);
|
||||
this.setAttribute(Window.MODE_KEY, Window.MODE_HIGHLIGHTED);
|
||||
this.setSizable(true); // Elaine 2009/02/02 - window set to resizable
|
||||
|
|
Loading…
Reference in New Issue