[IMP] Improve layouting absolute width (eg: fix wizards using images)

bzr revid: fme@openerp.com-20120503143043-dyl8yvpwnhrupki8
This commit is contained in:
Fabien Meghazi 2012-05-03 16:30:43 +02:00
parent 0b773eead3
commit c0c8faad24
1 changed files with 3 additions and 0 deletions

View File

@ -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');