Windows are floating components. They can be dragged around by a user. They do not conform to layouts.
If you want to lay windows out in a specific arrangement, you can set 'x','y','width' and 'height' via static values or constraints. You can set allowdrag="false" if you don't want the window position to be changed by the user. Also notable is the ability to disable the closing of a window by the user via closeable="false". You can use views and most components that extend views in a layout. Components that ignore layout always have options="ignorelayout". On Mon, Mar 2, 2009 at 6:18 AM, doug livesey <[email protected]> wrote: > Hi -- I have this code in a Laszlo app I'm trying to start prototyping: > > <canvas> > <simplelayout axis='x' spacing='5' /> > <view height='100%' id='sidebar' width='20%'> > <simplelayout axis='y' spacing='3' /> > <window height='20%' id='filters' title='Filters' > width='100%'></window> > <window height='20%' id='customers' title='Customers' > width='100%'></window> > <window height='60%' id='jobs' title='Jobs' width='100%'></window> > </view> > </canvas> > > My problem is that this just stacks each of the windows one on top of > another, whereas my intention is to have each window appear neatly under the > last. > Could someone tell me what I've got wrong, here? > I've been trying all sorts of permutations, all to no avail. > Cheers, > Doug. >
