Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Wrap problem in the TableWrapLayout.
Wrap problem in the TableWrapLayout. [message #276417] Tue, 23 November 2004 09:08 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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)
Previous Topic:How to add log to the eclipse error log? please advice
Next Topic:how to use a downloaded plugin?
Goto Forum:
  


Current Time: Mon Apr 28 03:09:49 EDT 2025

Powered by FUDForum. Page generated in 0.02935 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top