Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Text widget
Text widget [message #463841] Fri, 16 February 2007 08:39 Go to next message
Eclipse UserFriend
Originally posted by: mangoo.vmasch.at

I'm new to RCP and tries to design a simple GUI using different
tutorials. All works, but unfortunately the width of my Text objects
always adjust to the length of the default text - regardless of the
predefined size. Furthermore I set the style of my Text objects to
SWT.V_SCROLL and SWT.H_SCROLL as described in several tutorials, but the
text runs out of the shell - there is no line break.

Any ideas?
Thanks.
Re: Text widget [message #463851 is a reply to message #463841] Fri, 16 February 2007 11:25 Go to previous message
Eclipse UserFriend
Originally posted by: mangoo.vmasch.at

I solved the problem using GridData Object Fields:

http://www.eclipse.org/articles/Article-Understanding-Layout s/Understanding-Layouts.htm

mangoo schrieb:
> I'm new to RCP and tries to design a simple GUI using different
> tutorials. All works, but unfortunately the width of my Text objects
> always adjust to the length of the default text - regardless of the
> predefined size. Furthermore I set the style of my Text objects to
> SWT.V_SCROLL and SWT.H_SCROLL as described in several tutorials, but the
> text runs out of the shell - there is no line break.
>
> Any ideas?
> Thanks.
Previous Topic:Presentation Factories - Change global app color
Next Topic:3.3M5 Equinox launcher on Mac OS X
Goto Forum:
  


Current Time: Mon Mar 17 20:16:24 EDT 2025

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

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

Back to the top