IDEMPIERE-464 Dashboard third column moved to the botton

This commit is contained in:
Heng Sin Low 2012-10-22 13:23:55 +08:00
parent 8bddd48175
commit ed20b4c6b5
1 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,8 @@ public class DashboardController implements EventListener<Event> {
dps = MDashboardPreference.getForSession(isShowInDashboard, AD_User_ID, AD_Role_ID); // based on user and role
noOfCols = MDashboardPreference.getForSessionColumnCount(isShowInDashboard, AD_User_ID, AD_Role_ID);
width = noOfCols <= 0 ? 100 : 100 / noOfCols;
int dashboardWidth = isShowInDashboard ? 98 : 100;
width = noOfCols <= 0 ? dashboardWidth : dashboardWidth / noOfCols;
int useWidth = 0;
for (final MDashboardPreference dp : dps)
{