3

I'm having a problem that others have talked about here. ie How to auto adjust TextArea Height. I saw this answer: Creating a textarea with auto-resize

but I was hoping someone here can translate how to do this in GWT or Smart GWT.

Community
  • 1
  • 1
Kwame
  • 1,115
  • 2
  • 21
  • 38
  • Perhaps you could post a link to an auto adjusted text area so that answerers have a better idea of what you are looking for. – mooreds Aug 18 '11 at 20:33
  • Any news about this? Looking exactly for the same problem – Oliver Drummond Aug 25 '17 at 16:58
  • See this for a similar question: https://stackoverflow.com/questions/54842360/gwt-resize-textarea-in-ie-internet-explorer – May Feb 23 '19 at 14:26

2 Answers2

0

Take a look at SimpleLayoutPanel. It enables you to respond to the browser's resize events.

Kees de Kooter
  • 7,078
  • 5
  • 38
  • 45
0

There's a dedicated sample in SmartGWT for this use case:

http://www.smartclient.com/smartgwt/showcase/#layout_form_filling

If you're using SmartGWT you should not introduce core GWT widgets without a good reason (and there isn't one here obviously).

Charles Kendrick
  • 2,059
  • 13
  • 14
  • 1
    This example shows a Canvas auto resizing to fill available space. It doesn't show how to do it with a TextAreaItem – Kwame Aug 19 '11 at 06:59