Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » User-resizable multiline text widget
User-resizable multiline text widget [message #652434] Thu, 03 February 2011 21:50 Go to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
I'm looking for ideas or pointers on how to create an multi-line SWT Text with a resizer in the bottom-right corner? MacOS X web browsers, for example, support this for all multi-line input elements.

'm currently placing the text widget in a composite using a GridLayout.

I'd prefer to avoid using a SashForm or a FormLayout; they'd require a significant redesign.

I have tried playing around with a Sash, and changing the text's GridData's minimumHeight/Width and then triggering a relayout, but it didn't have the desired effect.

Thank you for any pointers!

Brian.
Re: User-resizable multiline text widget [message #652448 is a reply to message #652434] Thu, 03 February 2011 23:34 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Well I guess the layout we've written for Eclipse 4.1 to get replace the
Sash-Nesting we used in 4.0 would be handy for something like this.

Tom

Am 03.02.11 22:50, schrieb Brian de Alwis:
> I'm looking for ideas or pointers on how to create an multi-line SWT
> Text with a resizer in the bottom-right corner? MacOS X web browsers,
> for example, support this for all multi-line input elements.
> 'm currently placing the text widget in a composite using a GridLayout.
> I'd prefer to avoid using a SashForm or a FormLayout; they'd require a
> significant redesign.
>
> I have tried playing around with a Sash, and changing the text's
> GridData's minimumHeight/Width and then triggering a relayout, but it
> didn't have the desired effect.
>
> Thank you for any pointers!
>
> Brian.
Previous Topic:Sending email with attachment using default email client
Next Topic:[SOLVED] Broken DND feedback indicator when dragging TableItems on Mac
Goto Forum:
  


Current Time: Thu Mar 28 11:52:15 GMT 2024

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

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

Back to the top