开发者

How is the height of a component related to its skin file?

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 th开发者_运维百科e 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜