[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] ExpandItem to grab excess vertical space?

Hello

I have a question regarding ExpandBar and ExpandItem's. I have an ExpandBar with two ExpandItem's which each embed a custom component and it is nearly working perfectly but my problem is as follows:

(The ExpandBar's parent Composite is using FillLayout)

The second ExpandItem resizes it's width correctly (updating the components width inside) but it will not after much battling with layouts grab the excess vertical space below it so it remains the same height as set during its initilization via "expandItem2.setHeight( some_height );".

Can somebody please point me in the right direction as how to change the ExpandItem's height when its parent is being resized.

Thanks in advance.

AJ