Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUser-resizable multiline text widget
https://www.eclipse.org/forums/index.php/mv/msg/204038/652434/#msg_652434
'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.]]>Brian de Alwis2011-02-03T21:50:07-00:00Re: User-resizable multiline text widget
https://www.eclipse.org/forums/index.php/mv/msg/204038/652448/#msg_652448
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.]]>Thomas Schindl2011-02-03T23:34:50-00:00