Showing posts with label setMessage. Show all posts
Showing posts with label setMessage. Show all posts

Friday, February 19, 2016

Text setMessage with SWT.MULTI style

Text setMessage with SWT.MULTI style - Yes, this doesn't work!.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=397695

Seems to be that's a native OS behaviour for Windows and GTK platforms.

Example:

Text  releaseNotesTxt = new Text(appPreviewComposite, SWT.MULTI | SWT.BORDER | SWT.WRAP | SWT.V_SCROLL );
releaseNotesTxt.setMessage("Enter your release notes for this build (Optional)");


But this works with SWT.Single or SWT.Search