IDEMPIERE-1130 Problem with the height of performance dashboard panel

This commit is contained in:
Elaine Tan 2013-07-03 11:19:05 +08:00
parent 3fc9f7eebc
commit cdead096cf
1 changed files with 1 additions and 1 deletions

View File

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