[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Flat combo in SWT forms
|
In the PDE there is a flat combo box. I try to get that flat box too but i
cannot get rid of the original widgets 3d border.
>From the forms manual, this should work (since there is no
Toolkit.createCombo()).
combo = new Combo(composite, SWT.NONE);
combo.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER);
toolkit.paintBordersFor(composite);
If i do this, i get a flat border around a 3d border.
Any hints?
Regards,
Wim