How is the height of a component related to its skin file?
-
28-10-2019 - |
문제
I have a panel with a custom skin whose height is smaller than its hostcomponent's height. When I layout this out in a vgroup, the component's size doesn't reflect the skin's smaller size.
Is there a way to completely delegate the size of a container to the skin class?
해결책
Try to set component's minHeight
or measuredMinHeight
in measure()
to the desired size.
제휴하지 않습니다 StackOverflow