Hi All

 

I have been developing a dynamic GUI where  I only know the layout of
the items at run time. Up until now I have been using the GridBagLayout
and getting my users (other developers) to specify X and Y coordinates,
horizontal and vertical spanning, weights etc. I have had to move from
the GridBagLayout to specifying a Grid for the layout of the items. SWT
implements a GridData where items will be added to a grid without
specifying x or y coordinates,  and it allows the addition of spanning
parameter.

 

I have been checking out the ULCBoxPane and it should allow me to do
exactly what I want, but the add(...) method only allows me to add a
horizontal span. I need to be able to add an item to the layout giving
its column & row span, their weights and the item. 

 

Is there an easy way of implementing this? How can I give a component a
certain row span? 

 

 

Paul Harrison

 

 

Reply via email to