diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-05-03 16:30:43 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-05-03 16:30:43 +0200 |
| commit | c0c8faad24f2f26d5d3db7825d0980562b74f34d (patch) | |
| tree | 885c704da2cc80708943a28753bfb91e9fb4dcc4 /addons/web/static/src | |
| parent | 0b773eead3973838f29614bcd3e6c3cc7478f3e6 (diff) | |
[IMP] Improve layouting absolute width (eg: fix wizards using images)
bzr revid: fme@openerp.com-20120503143043-dyl8yvpwnhrupki8
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index b77bbd77e02..22ff042324d 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -1123,6 +1123,9 @@ instance.web.form.FormRenderingEngine = instance.web.Class.extend({ if (width.substr(-1) === '%') { total -= iwidth; width = iwidth + '%'; + } else { + // Absolute width + $td.css('min-width', width + 'px'); } $td.attr('width', width); $child.removeAttr('width'); |
