Hi,

I am investigating a concept for a ui... and I thought it would be a great opportunity to familiarize myself with laszlo, and so try to sketch up a live mockup. What I would like to do is to have a control area, and a work area composed of tabpanes. A tabpane is created after clicking on some control area button, and it can later be deleted by clicking a delete button on the tabpane itself.

I am reading as much doc as I can, but I am kind of stalled by the following problems:

- The width of a first tab (created automatically by the application) is not what it should be (specified using ${parent.width}). However, creating a tab via button will cause the width to adjust... - There are incomprehenisble debug errors (background, setColorTransform) when the button above is clicked for the first time - Tabs created via the button "lose" the background color... they become gray. - On the 4th (and subsequent) created tab the width of all tabpanes reverts to being only as wide as necessary? Also the 4th and subsequent tabpanes lose their delete button... (the 2nd and 3rd pane's buttons also seem incorrectly placed). - The control area (menuarea) height resizes correctly but the workarea does not...

I have attaching an app that attempts such dynamic tabs, but has the above problems. Could anyone please indicate me what I am misunderstanding? Or, would there be a usefully similar example out there somewhere?

I have also tried to play with tabclass and contentclass, but seemingly it made things only worse.

Any other comments, on style, better alternatives, etc, would of course also be greatty appreciated... not sure, but maybe there could be a useful example to come out of this.

Many thanks, mario

Attachment: dyntabtest.lzx
Description: application/applefile

Attachment: dyntabtest.lzx
Description: Binary data


Reply via email to