Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » CCombo (org.eclipse.swt.custom.CCombo)(CCombo.pack() does not works on solaris)
CCombo (org.eclipse.swt.custom.CCombo) [message #908403] Wed, 05 September 2012 06:17
sonel virmani is currently offline sonel virmani
Messages: 1
Registered: September 2012
Junior Member
Hi,

I am developing a GUI which has all controls listed on ExpandItem.This Expand Item is inside a composite of fixed size.

On this Expand Item , I have a group which has a ccombo inside it.

Now , if this CCombo has too long values , then it goes outside the composite and are not wrapped up on solaris.

This is the code used:

combo.addModifyListener(new ModifyListener() {
public void modifyText(final ModifyEvent event) {
/*
* pack() is called on a component and its child to adjust
* to its preferred size
*/
combo.getParent().pack();
combo.pack();
}
);

This works fine on windows.
Can someone help me here.Thanks.
Previous Topic:developing new component in ossie c eclipse
Next Topic:Multiple posts - Blank posts
Goto Forum:
  


Current Time: Sun Aug 31 06:27:53 EDT 2014

Powered by FUDForum. Page generated in 0.04633 seconds