textbox in showcase lower right corner, has a dragger to resize the textbox

53 views
Skip to first unread message

tong123123

unread,
Jun 8, 2012, 4:08:10 AM6/8/12
to google-we...@googlegroups.com
in the showcase
http://gwt.google.com/samples/Showcase/Showcase.html#!CwBasicText
the textbox lower right corner has a dragger to resize the textbox, how to do it?

 I try
TextArea ta = new TextArea();
 ta.setCharacterWidth(80);
 ta.setVisibleLines(5);


but the textbox generated has no such a resize dragger.

Jens

unread,
Jun 8, 2012, 4:26:11 AM6/8/12
to google-we...@googlegroups.com
Its a CSS3 property named "resize", see: http://www.w3schools.com/cssref/css3_pr_resize.asp

Currently only supported on the browsers listed at: http://caniuse.com/#search=resize

-- J.

Thomas Broyer

unread,
Jun 8, 2012, 4:26:22 AM6/8/12
to google-we...@googlegroups.com
It might because of setCharacterWidth(), that's the only difference from the showcase.
Anyway, the dragger is "native", added and handled by your browser, so it also depends which browser you use.
Reply all
Reply to author
Forward
0 new messages