Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.1 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
See the attached example: Upon creation the container's measuredMinHeight/minHeight is 0.
This is due to a hack in SkinnableContainerSkin where the contentGroup has its minWidth/minHeight set to 0.
This makes measuredMinWidth/measuredMinHeight obsolete in the whole application seeing as SkinnableContainers are widely used.
One particular use case I have in mind is a modular application where a number of modules are launched in popups. With this hack in, I can't offer to provide resizing facilities till the natural (measured) minWidth/minHeight of the popup'ed component is reached (The expected behavior).
Instead, I have to tell module developers to set an explicit minWidth/minHeight at the top level view of their module which is annoying for a number of reasons (One of which is that they have to remember to re-evaluate these values everytime they change the content of their module).
I understand the hack was put in place to fix another bug, but it came with its issues too. Was it worth it ? Isn't there a better fix ?