Hi All,
I have following problem:
title_txt = new TextInput( );
title_txt.setSize( 100, 20 );
// title_txt.update() // or something to update parent's height?
trace(title_txt.height, this.height) // 20, 0
So after i set TextArea’s height, the instance traces height properly, but its parent container in which it is contained traces still 0 height. I hear this is well-known component behavior [issue:]. Any ideas what should i do for this to trace instantly and not asynchronously the proper height? (because if i trace later it traces correct height)
NOTE: same with width (when using component’s setSize) and other components.