I’ve been using SWT for a few years, but i can’t seem to figure this one out:
I need to SPLIT a VIEW into 2 “zones”: LEFT and RIGHT
So i use a Composite with GridLayout with 2 columns to do it.
Inside the RIGHT composite i have a FIXED number of columns (created inside another GridLayout composite) but inside the LEFT composite i need to create a DYNAMIC number of columns that spans on the composite limit…
Is there a way to achieve this?
I tried a RowLayout inside left composite, but these 2 don’t match :-\
Thanks
As it is not clear what you mean by
Therefore I am assuming that you want a dynamically changing gridlayout for your left composite. See the code below, specially the
button.addSelectionListener().