no automatic resizing after addChild (mx)
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Following Yishay advice, I create this issue about DOM note automatically resising after adding a child.
I have created a test project wich displays a button to add 4 labels to the dom
By default labels are added but parent DOM size is not modified, so you can view the labels only by scrolling
If you uncomment the line 33 of the Ecran2Class ( fire "layoutNeeded" event) you get the behaviour I would like to have.
I use 0.9.7 to compile
Thanks for your help
Nicolas
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported test project and Ecran2Class, especially line 33 and the addChild flow; compare behavior with and without firing the "layoutNeeded" event. Done means adding the four labels automatically resizes the parent DOM so all labels are visible without scrolling.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100