Skip to main content


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 10:17
sonel virmani is currently offline sonel virmaniFriend
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: Fri Apr 26 10:45:18 GMT 2024

Powered by FUDForum. Page generated in 0.08024 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top