diff --git a/src/sao.less b/src/sao.less index 736d231b82..2dd180512d 100644 --- a/src/sao.less +++ b/src/sao.less @@ -441,6 +441,10 @@ img.icon { display: flex; justify-content: space-between; + > * { + align-self: center; + } + .widget, .widget-editable { min-width: 0; flex-grow: 2; diff --git a/src/view/tree.js b/src/view/tree.js index 894ffdb47e..15d36697c3 100644 --- a/src/view/tree.js +++ b/src/view/tree.js @@ -2647,6 +2647,8 @@ Sao.View.EditableTree.Integer = Sao.class_(Sao.View.Form.Integer, { class_: 'editabletree-integer', init: function(view, attributes) { + attributes = jQuery.extend({}, attributes); + delete attributes.symbol; Sao.View.EditableTree.Integer._super.init.call( this, view, attributes); Sao.View.EditableTree.editable_mixin(this); @@ -2659,6 +2661,8 @@ Sao.View.EditableTree.Float = Sao.class_(Sao.View.Form.Float, { class_: 'editabletree-float', init: function(view, attributes) { + attributes = jQuery.extend({}, attributes); + delete attributes.symbol; Sao.View.EditableTree.Float._super.init.call( this, view, attributes); Sao.View.EditableTree.editable_mixin(this);