Expanding textfield to flexible height


(strmiska) #1

is it possible in hype to place a text field, which is fitting to height, depending how much text it is used,
like in html
<div>test</div>?
i get always fixed height or scrollable text. also if i use innerHTML
<div>test</div>
it is set to hypes defined textfield-height.
the reason is, i get text-data from a database loading into a hype textfield.
so sometimes i get more, sometimes less text. therefore the textfield should be flexible in it´s height.

maby anyone has eperiences with this issue?


#3

Check out this solution:


(strmiska) #4

thanks @Daniel - i get a working example. i´m going to post this on tipps and tricks :champagne: