Hi all,
I have one problem with layout. I try to explain it on example. I have one VLayout with fixed width. This layout contains two members with width="100%", so I would like to fill this VLayout with members into width. But if one member overflow fixed size of VLayout, than VLayout is resized but second member still has original size of VLayout. Here is my example:
So is there any way how to implement it correctly? Or is it bug?
Thanks.
Jirka
I have one problem with layout. I try to explain it on example. I have one VLayout with fixed width. This layout contains two members with width="100%", so I would like to fill this VLayout with members into width. But if one member overflow fixed size of VLayout, than VLayout is resized but second member still has original size of VLayout. Here is my example:
Code:
isc.VLayout.create({ width: 300, overflow : "visible", height: 300, members: [ isc.Canvas.create({ width: "100%", backgroundColor:"red", height : 10 }), isc.Canvas.create({ width: "100%", contents : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", backgroundColor:"yellow", height : 10 }) ] });
Thanks.
Jirka
Comment