Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Nonvisible widgets

Thanks Manuel!


param[1] = new Integer(SWT.CENTER); // this was the problem
constr.newInstance(param);

The style CENTER is not a valid style for a Composite.

I just spent a few days debugging this... (on the good side, my code is much cleaner now).

Is there a bug entry for this issue?  Specifically:

Composite composite = new Composite(parent, SWT.CENTER);

win32 ignores SWT.CENTER and does draw the control.
gtk does NOT draw the control.

Thanks again,
Cory.



Back to the top