[IMP] Improve layouting absolute width (eg: fix wizards using images)
bzr revid: fme@openerp.com-20120503143043-dyl8yvpwnhrupki8
This commit is contained in:
parent
0b773eead3
commit
c0c8faad24
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue