IDEMPIERE-200 Zk6: The NumberBox component remain visible after setVisible(false) call
This commit is contained in:
parent
2c0c4dc6da
commit
9febc774f1
|
@ -87,11 +87,7 @@ public class EditorBox extends Div {
|
||||||
LayoutUtils.addSclass("editor-button", btn);
|
LayoutUtils.addSclass("editor-button", btn);
|
||||||
btnColumn.appendChild(btn);
|
btnColumn.appendChild(btn);
|
||||||
|
|
||||||
String style = AEnv.isFirefox2() ? "display: inline"
|
LayoutUtils.addSclass("editor-box", this);
|
||||||
: "display: inline-block";
|
|
||||||
style = style
|
|
||||||
+ ";border: none; padding: 0px; margin: 0px; background-color: transparent;";
|
|
||||||
this.setStyle(style);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -111,9 +111,7 @@ public class NumberBox extends Div
|
||||||
btn.setStyle("text-align: center;");
|
btn.setStyle("text-align: center;");
|
||||||
appendChild(popup);
|
appendChild(popup);
|
||||||
|
|
||||||
String style = AEnv.isFirefox2() ? "display: inline" : "display: inline-block";
|
LayoutUtils.addSclass(".number-box", this);
|
||||||
style = style + ";white-space:nowrap";
|
|
||||||
this.setStyle(style);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -459,3 +459,13 @@ div.z-vfiletree-body td.menu-tree-cell {
|
||||||
.z-timebox-focus .z-timebox-inp {
|
.z-timebox-focus .z-timebox-inp {
|
||||||
background: #FFFFCC;
|
background: #FFFFCC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%-- Editor --%>
|
||||||
|
.editor-box {
|
||||||
|
display: inline-block;
|
||||||
|
border: none; padding: 0px; margin: 0px; background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.number-box {
|
||||||
|
display: inline-block; white-space:nowrap;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue