[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] relayout of a composite with hidden widgets

Hi,

This is a bit of a longshot, but I thought I'd ask anyway.

I am hiding widgets in a dialog by iterating through it's child widgets and hiding (setVisible(false)) those that I don't wish to see. This is producing the results I want, with the exception of ugly gaps in the dialog where the widgets are hidden.

Is there a way that I can re-layout the dialog to fill in the gaps? It has been created with a GridLayout. I can't dispose of the objects as this upsets the dialog.

Thanks,

--
Derek