yishayw commented on issue #1208:
URL: https://github.com/apache/royale-asjs/issues/1208#issuecomment-1236976838
This problem may have been introduced in
8af26f74e1e567ac47b936937a4072f2c2b19a53 by @aharui
Specifically, this line
```
if (!isNaN(percentHeight))
_measuredMinHeight = mh;
```
in UIComponent.get__measuredHeight() sets measured min height of panel's
internal container to its content measured height. This essentially overrides
BoxLayout's flexing algorithm for percentHeight children.
As mentioned above layout is ok with other components, so I did not want to
change BoxLayout without understanding this better.
I solved this by creating a custom Panel layout for mx, same as there exists
one for spark. Panel is essentially just a titlebar and an internal content
container (ignoring unimplemented control bar for now), so a simpler layout
makes more sense to me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]