IDEMPIERE-1130 Problem with the height of performance dashboard panel
This commit is contained in:
parent
3fc9f7eebc
commit
cdead096cf
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue