IDEMPIERE-1115 Zk: 2 Minor dashboard widget bugs.
This commit is contained in:
parent
61a0d9ca4b
commit
c361e73378
|
@ -91,6 +91,7 @@ public class DPRecentItems extends DashboardPanel implements EventListener<Event
|
|||
Panelchildren recentItemsContent = new Panelchildren();
|
||||
panel.appendChild(recentItemsContent);
|
||||
bxRecentItems = new Vbox();
|
||||
bxRecentItems.setHflex("1");
|
||||
this.setSclass("recentitems-box");
|
||||
recentItemsContent.appendChild(bxRecentItems);
|
||||
createRecentItemsPanel();
|
||||
|
@ -238,6 +239,7 @@ public class DPRecentItems extends DashboardPanel implements EventListener<Event
|
|||
btnrecentItem.addEventListener(Events.ON_CLICK, this);
|
||||
btnrecentItem.addEventListener(Events.ON_DROP, this);
|
||||
btnrecentItem.setSclass("menu-href");
|
||||
btnrecentItem.setHflex("1");
|
||||
|
||||
riShown++;
|
||||
if (riShown >= maxri)
|
||||
|
|
|
@ -407,7 +407,7 @@ public class DashboardController implements EventListener<Event> {
|
|||
}
|
||||
dashboardLayout.appendChild(maximizedHolder);
|
||||
maximizedHolder.appendChild(panel);
|
||||
panel.setSclass("");
|
||||
panel.setSclass("dashboard-widget dashboard-widget-max");
|
||||
} else {
|
||||
maximizedHolder.detach();
|
||||
panel.detach();
|
||||
|
|
|
@ -594,6 +594,11 @@ div.wc-modal, div.wc-modal-none, div.wc-highlighted, div.wc-highlighted-none {
|
|||
width: 92%;
|
||||
}
|
||||
|
||||
.dashboard-widget-max {
|
||||
margin: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.dashboard-report-iframe {
|
||||
min-height:300px;
|
||||
border: 1px solid lightgray;
|
||||
|
@ -625,7 +630,6 @@ div.wc-modal, div.wc-modal-none, div.wc-highlighted, div.wc-highlighted-none {
|
|||
|
||||
.recentitems-box A {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 2px 0px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue