by mboegem » Fri Nov 20, 2015 12:50 pm
Hi Christof,
you can not resize elements beyond the boundaries of a layout part, at least not directly though plain Servoy code.
It works for opened combobox, because this is just default behaviour of opening the combobox, not because of resizing the element.
In case resizing the header would have been a solution (as Bernd suggested), I would not recommend to do so.
The only way to do this is to change the design of your form through code and recreating the UI.
This should work in smart-client/web-client, but for sure NOT in ng-client.
The easy way to make this sort of work in smart-/webclient, is to open a form in dialog, containing the textarea at the size you want.
You can even open this dialog right next to your original textare (although in that case I think you might be better of using a textfield here, as it will show any text without linebreaks)
In webclient you will be able to do this through the webclient utils plugin, where you can inject code into the html page which will take care of resizing the element at DOM level.
I guess in the ng-client you can even create a component that will do this, where you also will manipulate the size via the DOM.
Hope this helps.