This topic is locked
[SOLVED]

 Text Area Resiable?

2/21/2013 5:49:36 AM
PHPRunner General questions
W
wpl author

Hello to all,
is there a possibility to prevent a text area from being resizable by the user? Runner is 6.2, build 14944.
Thanks

Sergey Kornilov admin 2/21/2013

Text areas are not resizable itself. I guess you use Chrome that makes all text areas resizable.
Check this article for inspiration:

http://stackoverflow.com/questions/2096113/chrome-make-non-resizable-textareas

W
wpl author 2/21/2013



Text areas are not resizable itself. I guess you use Chrome that makes all text areas resizable.
Check this article for inspiration:

http://stackoverflow.com/questions/2096113/chrome-make-non-resizable-textareas


Thanks for this hint, Sergey
I'm using FF 19.0 and didn't notice this behavior in earlier versions (can't remember which, though).
I solved this issue using



var ctrlTextArea = Runner.getControl(pageid, 'textarea');

ctrlTextArea.addStyle('resize:none;');


Works in FF 19.0, Chrome 24.0.x, IE 9.08.x.