IDEMPIERE-405 Zk: Replace hardcoded style with css class.
This commit is contained in:
parent
bbbb4eb4c2
commit
a04d56b8b8
|
@ -509,7 +509,7 @@ DataStatusListener, IADTabpanel, IdSpace
|
|||
editorComps.add(editor.getComponent());
|
||||
if (paintLabel) {
|
||||
Div div = new Div();
|
||||
div.setStyle("text-align: right;");
|
||||
div.setSclass("form-label");
|
||||
Label label = editor.getLabel();
|
||||
div.appendChild(label);
|
||||
if (label.getDecorator() != null)
|
||||
|
@ -566,7 +566,7 @@ DataStatusListener, IADTabpanel, IdSpace
|
|||
//display just a label if we are "heading only"
|
||||
Label label = new Label(field.getHeader());
|
||||
Div div = new Div();
|
||||
div.setStyle("text-align: center;");
|
||||
div.setSclass("form-label-heading");
|
||||
row.appendCellChild(createSpacer());
|
||||
div.appendChild(label);
|
||||
row.appendCellChild(div);
|
||||
|
|
|
@ -662,6 +662,16 @@ div.wc-modal, div.wc-modal-none, div.wc-highlighted, div.wc-highlighted-none {
|
|||
background-image: none !important;
|
||||
}
|
||||
|
||||
.form-label
|
||||
{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.form-label-heading
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
<%-- status bar --%>
|
||||
.status {
|
||||
width: 100%;
|
||||
|
|
Loading…
Reference in New Issue