From 626bc5c9771abcb48a0e7c6339f2032f6ca4b64d Mon Sep 17 00:00:00 2001 From: Elaine Tan Date: Fri, 18 Jan 2013 19:51:05 +0800 Subject: [PATCH] Ticket #1002158: Dashboard Columns - Bug --- .../src/org/adempiere/webui/desktop/DashboardController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DashboardController.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DashboardController.java index b721a572f8..f2a636643e 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DashboardController.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DashboardController.java @@ -141,7 +141,7 @@ public class DashboardController implements EventListener { 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); - int dashboardWidth = isShowInDashboard ? 98 : 100; + int dashboardWidth = isShowInDashboard ? 98 : 99; width = noOfCols <= 0 ? dashboardWidth : dashboardWidth / noOfCols; int useWidth = 0; for (final MDashboardPreference dp : dps) @@ -395,6 +395,7 @@ public class DashboardController implements EventListener { { // additional column dashboardColumnLayout = new Vlayout(); + dashboardColumnLayout.setWidth("100%"); dashboardColumnLayout.setAttribute("ColumnNo", currentColumnNo + 1); dashboardColumnLayout.setAttribute("IsShowInDashboard", isShowInDashboard); dashboardColumnLayout.setAttribute("IsAdditionalColumn", true);