Hi Alex,

thanks for the answer. I think that doesn't help. What I need is a kind
of "stack" where the width of columns are equal (like a grid). With your
composite workaround this doesn't work (my current solution is a
composite with VBox layout at all, but the columns are not inline).
The grid solution would no problem, if I could add new layers "in
between". So if I have row 0, row 2, row 3 and I want to add a new row
'x' between 2 and 3. Row 3 should be pushed up to row 4 and row 'x'
should be places on position 3. I hope the explanation is not too
complicated ;)  

Best regards - Claus

Am Freitag, den 01.10.2010, 13:01 +0200 schrieb Alexander Steitz:
> Hi Claus,
> 
> > I want to insert dynamically a row into a grid layout (without
> > resorting the whole grid). 
> >
> > If I use the VBox layout composite.addAfter(wiget, widgetBefore) would be 
> > the right choice. 
> > But that doesn't work with grid. Here's a litte sample: 
> > http://tinyurl.com/26z76ec
> > 
> > Any ideas? Thanks in advance!
> You only can insert one widget into each cell and you need to set the column 
> and the row when using the "add" method.
> 
> So if you want to add a widget to an existing widget in the grid I guess one 
> solution might be to add "Composite" container with a defined Vbox layout to 
> the grid. It should be possible to add widgets to the container within the 
> grid dynamically.
> 
> Does this advice help you further or did I mix up things here?
> 
> cheers,
>   Alex
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 


-- 
claus straube

phone   +49-89-38157419-0
mobile  +49-176-49673717
fax     +49-89-38157419-9
skype   clausstraube
web     http://www.catify.com
office  heßstr. 56, 80798 munich


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to