Hi,
I have the following code:
When I try this code on the live demos application @ www.smartclient.com, the minHeight has no
effect. I thought the above code would have triggered the scroll bars to appear when the window
gets resized to a point where the layout can't fit 200 pixels (minHeight).
How can this behavior be achived ? Simple, but with quite some playing around, I still haven't
figured it out ...
Thanks in advance for your help ...
I have the following code:
Code:
isc.VLayout.create
({
width : '100%',
height : '100%',
overflow : 'auto',
layoutMargin : 0,
membersMargin : 0,
border : '2px solid blue',
members :
[
Canvas.create({ overflow : 'auto', contents : 'Abc',
border : '2px solid red', minHeight : 200,
defaultHeight : '50%', height : '50%', width : '100%' }),
Canvas.create({ overflow : 'auto', contents : 'Xyz',
border : '2px solid yellow', minHeight : 200,
defaultHeight : '50%', height : '50%', width : '100%' })
]
});
effect. I thought the above code would have triggered the scroll bars to appear when the window
gets resized to a point where the layout can't fit 200 pixels (minHeight).
How can this behavior be achived ? Simple, but with quite some playing around, I still haven't
figured it out ...
Thanks in advance for your help ...
Comment