Ticket #1002158: Dashboard Columns - Bug
This commit is contained in:
parent
5448d70f3f
commit
626bc5c977
|
@ -141,7 +141,7 @@ public class DashboardController implements EventListener<Event> {
|
||||||
dps = MDashboardPreference.getForSession(isShowInDashboard, AD_User_ID, AD_Role_ID); // based on user and role
|
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);
|
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;
|
width = noOfCols <= 0 ? dashboardWidth : dashboardWidth / noOfCols;
|
||||||
int useWidth = 0;
|
int useWidth = 0;
|
||||||
for (final MDashboardPreference dp : dps)
|
for (final MDashboardPreference dp : dps)
|
||||||
|
@ -395,6 +395,7 @@ public class DashboardController implements EventListener<Event> {
|
||||||
{
|
{
|
||||||
// additional column
|
// additional column
|
||||||
dashboardColumnLayout = new Vlayout();
|
dashboardColumnLayout = new Vlayout();
|
||||||
|
dashboardColumnLayout.setWidth("100%");
|
||||||
dashboardColumnLayout.setAttribute("ColumnNo", currentColumnNo + 1);
|
dashboardColumnLayout.setAttribute("ColumnNo", currentColumnNo + 1);
|
||||||
dashboardColumnLayout.setAttribute("IsShowInDashboard", isShowInDashboard);
|
dashboardColumnLayout.setAttribute("IsShowInDashboard", isShowInDashboard);
|
||||||
dashboardColumnLayout.setAttribute("IsAdditionalColumn", true);
|
dashboardColumnLayout.setAttribute("IsAdditionalColumn", true);
|
||||||
|
|
Loading…
Reference in New Issue