Wrap problem in the TableWrapLayout. [message #276417] |
Tue, 23 November 2004 09:08  |
Eclipse User |
|
|
|
Originally posted by: wudong.At.sklse.org
It's very strange that:
When I use Eclipse Form API's TableWrapLayout, wanting to wrap a long line of text, the text can only be wrapped when I use toolkit.createFormText() to create a FromText. But when i want to use the toolkit.createLabel(), the text doesn't wrap at all, all text are in one straight line.
What's the problem, does the Label support the wrap?
|
|
|
Re: Wrap problem in the TableWrapLayout. [message #276473 is a reply to message #276417] |
Wed, 24 November 2004 01:29  |
Eclipse User |
|
|
|
Originally posted by: scheglov_ke.nlmk.ru
wudong <wudong@at.sklse.org> wrote:
> It's very strange that:
> When I use Eclipse Form API's TableWrapLayout, wanting to wrap a long line of text, the text can only be wrapped when I use toolkit.createFormText() to create a FromText. But when i want to use the toolkit.createLabel(), the text doesn't wrap at all, all text are in one straight line.
> What's the problem, does the Label support the wrap?
Set SWT.WRAP style bit.
--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
|
|
|
Powered by
FUDForum. Page generated in 0.02935 seconds