IDEMPIERE-3963 cph::erp improve findwindow layout by css

This commit is contained in:
sjeffen 2019-05-06 11:17:07 +02:00
parent 0d8cbeb5bc
commit 385280f8aa
2 changed files with 3 additions and 2 deletions

View File

@ -757,7 +757,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
private void setupEmbeddedFindwindow() {
findWindow.setTitle(null);
findWindow.setBorder("none");
findWindow.setStyle("position: absolute; border-bottom: 2px solid #484848; padding: 2px; background-color: #fff;");
findWindow.setStyle("position: absolute;background-color: #fff;");
ZKUpdateUtil.setWidth(findWindow, "100%");
if (ClientInfo.maxHeight(ClientInfo.MEDIUM_HEIGHT-1))
ZKUpdateUtil.setHeight(findWindow, "100%");

View File

@ -626,7 +626,7 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
div.appendChild(labelHistory);
div.appendChild(historyCombo);
historyCombo.setStyle("margin-left: 3px; margin-right: 3px; position: relative; vertical-align: middle;");
div.setClass("toolbar");
winMain = new MultiTabPart();
winMain.createPart(layout);
winMain.getComponent().setStyle("position: relative; margin-left: auto; margin-right: auto; margin-top: 3px; margin-bottom: 3px;");
@ -647,6 +647,7 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
initSimple();
initAdvanced();
/** START DEVCOFFEE **/
statusBar.setClass("statusbar");
layout.appendChild(statusBar);
/** START DEVCOFFEE **/