[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Making controls appear/disappear in a composite

Dear all.

I have a composite with two children:

+---------------+
|               |
|Editing area   |
|               |
+---------------+
|Toolbar area   |
+---------------+

Now I would like to show only the editing area and,
when some conditions are true I would like to show (maybe with an animation) the toolbar area.
The toolbar area should then disappear (maybe with an animation) when the previous conditions become false.


Using setVisible is not good for me because the area allocated to the Toolbar stays visible producing a gap between the bottom of the editing area and the composite bottom border.

Any hints on how to do this?

Thanks.

Cheers,
Fabio