开发者

How to set the initial ration of the size of child elements of a Hdividedbox

I have a Hdividedbox, which has three child elements.

I want to set the initial ration of sizes, such that the first one开发者_JAVA百科 is 30%, the second is 40% & the third is 30% of the Hdividedbox's width.

How can I do this?


Indeed - please see below for an example

<mx:HDividedBox width="100%" >
    <mx:Panel width="30%"/>
    <mx:Panel width="40%"/>
    <mx:Panel width="30%"/>
</mx:HDividedBox>


Set the child components' width to those specific percentages.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜