[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Borders not showing on Textfield in Form
|
Hello,
I created a simple View with a Form in it.
Example code:
public void createPartControl(Composite parent)
{
FormToolkit toolkit = new FormToolkit(parent.getDisplay());
Form form = toolkit.createForm(parent);
form.getBody().setLayout(new RowLayout());
toolkit.createText(form.getBody(), "TEST");
}
The text field is rendered without the black borders. Is this a bug or
am I missing something from my code?
When I add SWT.BORDER the field is rendered as in any other dialog.
SWT.FLAT does not solve the problem either!
I'm working on JDK1.5_02, Windows XP Professional SP 2, Eclipse 3.1M6
Any help greatly appreciated.
Thanks
Stefan Langer