Bounds invalidation in TextField should affect parent
Bug #941443 reported by
Niel Drummond
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jeash |
Fix Committed
|
Undecided
|
Niel Drummond |
Bug Description
Hello,
I have a layout manager class that I use to dynamically position multiple elements and I need to get the correct width vals from each member. The problem I have is as follows: I have a Sprite into which I have added a TextField. If I trace out the width of the TextField it comes out as (e.g.) 130 BUT if I trace out the width of the parent Sprite it comes out as 0. Is this a fixable behaviour in Jeash? Are there similar behaviours I am going to encounter as I refactor my AS3 project to the html5 target?
Much thanks!
Sam
Changed in jeash: | |
status: | In Progress → Fix Committed |
milestone: | none → 0.8.8 |
To post a comment you must log in.
Test Case:
var parent = new Sprite();
var text = new TextField();
text. text = "bounds invalidation test.";