Description:
When a "width" property is set, the element does not automatically resize on height.
According to the documentation width should not have an impact to height. As a workaround, the use of defaultWidth is allowing the element to resize.
NOTE: the bug DOES NOT exist on 9.0_20130729
1. Smartclient versions: 9.0_20130729 / 10.0_20141202 on the LGPL version
2. IE 9-10 / FF 32-34
6. sample code if applicable
When a "width" property is set, the element does not automatically resize on height.
According to the documentation width should not have an impact to height. As a workaround, the use of defaultWidth is allowing the element to resize.
NOTE: the bug DOES NOT exist on 9.0_20130729
1. Smartclient versions: 9.0_20130729 / 10.0_20141202 on the LGPL version
2. IE 9-10 / FF 32-34
6. sample code if applicable
Code:
isc.IButton.create({
title:"Show", left:40,
click:"isc.warn('asdf <br> asdf <br>asdf <br> asdf <br>asdf <br> asdf <br>asdf <br> asdf <br>',{defaultWidth:400});"
})
isc.IButton.create({
title:"Show bug", left:160,
click:"isc.warn('asdf <br> asdf <br>asdf <br> asdf <br>asdf <br> asdf <br>asdf <br> asdf <br>',{width:400});"
})