IDEMPIERE-200 Zk6: The NumberBox component remain visible after setVisible(false) call

This commit is contained in:
Heng Sin Low 2012-03-16 22:27:34 +08:00
parent 2c0c4dc6da
commit 9febc774f1
3 changed files with 12 additions and 8 deletions

View File

@ -87,11 +87,7 @@ public class EditorBox extends Div {
LayoutUtils.addSclass("editor-button", btn);
btnColumn.appendChild(btn);
String style = AEnv.isFirefox2() ? "display: inline"
: "display: inline-block";
style = style
+ ";border: none; padding: 0px; margin: 0px; background-color: transparent;";
this.setStyle(style);
LayoutUtils.addSclass("editor-box", this);
}
/**

View File

@ -111,9 +111,7 @@ public class NumberBox extends Div
btn.setStyle("text-align: center;");
appendChild(popup);
String style = AEnv.isFirefox2() ? "display: inline" : "display: inline-block";
style = style + ";white-space:nowrap";
this.setStyle(style);
LayoutUtils.addSclass(".number-box", this);
}
/**

View File

@ -459,3 +459,13 @@ div.z-vfiletree-body td.menu-tree-cell {
.z-timebox-focus .z-timebox-inp {
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;
}