diff --git a/src/sao.less b/src/sao.less index e7b03ed105..a441926982 100644 --- a/src/sao.less +++ b/src/sao.less @@ -101,7 +101,6 @@ body { width: 100%; } & td.form-label { - text-align: right; white-space: nowrap; } & .form-many2one, .form-date, .form-binary, .form-reference { diff --git a/src/view.js b/src/view.js index 2e7611b59b..64896d03bf 100644 --- a/src/view.js +++ b/src/view.js @@ -1208,8 +1208,8 @@ text = model.fields[name] .description.string + ':'; } - if (node.getAttribute('xalign') === undefined) { - node.setAttribute('xalign', 1.0); + if (attributes.xalign === undefined) { + attributes.xalign = 1.0; } } else if (!text) { // TODO get content @@ -1455,8 +1455,12 @@ } var cell = jQuery('