Possible setSize() Bug in AW 2.5.2 & FF2?
Hi,
It seems that setSize() behaviour has changed in the new version of AW for FF2.
The following code:
in AW 2.5.1 & IE6/FF2, produces:
"width=2px, height=6px"
AW 2.5.2/IE6 also produces:
"width=2px, height=6px"
but AW 2.5.2/FF2 results in:
"width=undefined, height=6px"
Is this a bug, or should I be reading the width in a different manner?
(It is odd that there are 'setSize()/setPosition()' methods, but no complementary 'getters'. Or am I missing something?)
Cheers!
It seems that setSize() behaviour has changed in the new version of AW for FF2.
The following code:
var but = new AW.UI.Button;
but.setSize(10,10);
alert( "width=" + but.getStyle("width") +", height=" + but.getStyle("height") );
in AW 2.5.1 & IE6/FF2, produces:
"width=2px, height=6px"
AW 2.5.2/IE6 also produces:
"width=2px, height=6px"
but AW 2.5.2/FF2 results in:
"width=undefined, height=6px"
Is this a bug, or should I be reading the width in a different manner?
(It is odd that there are 'setSize()/setPosition()' methods, but no complementary 'getters'. Or am I missing something?)
Cheers!
Diarmuid
July 3,