Discussion:
Variable height of iOSTextArea
Bernd Fröhlich
2016-07-21 09:28:36 UTC
Permalink
I have an iOSTextArea in a view where I want to set the height according to the displayed data.
Could be 1 line, could be 10 lines or anything in between.
Is there some existing command that I can use or will I have to do my own calculations?

Greetings from Germany,
Bernd Fröhlich

_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>

List Help: <***@xojo.com>
Bernd Fröhlich
2016-07-21 10:00:28 UTC
Permalink
Post by Bernd Fröhlich
I have an iOSTextArea in a view where I want to set the height according to the displayed data.
Could be 1 line, could be 10 lines or anything in between.
Is there some existing command that I can use or will I have to do my own calculations?
Hmm, the calculations are the easy part, but the heigth property is read only :-(
Is it really not possible to change that or is there some other way?

_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>

List Help: <***@xojo.com>
Fred Stephenson
2016-07-27 13:43:08 UTC
Permalink
I belive you can do this using layout constraints - I believe it is
mentioned in th Auto layout section of the docs
Post by Bernd Fröhlich
Post by Bernd Fröhlich
I have an iOSTextArea in a view where I want to set the height according
to the displayed data.
Post by Bernd Fröhlich
Could be 1 line, could be 10 lines or anything in between.
Is there some existing command that I can use or will I have to do my
own calculations?
Hmm, the calculations are the easy part, but the heigth property is read only :-(
Is it really not possible to change that or is there some other way?
_______________________________________________
_______________________________________________
Unsubscribe by sending a message to:
<nug
Bernd Fröhlich
2016-07-27 14:12:35 UTC
Permalink
Post by Fred Stephenson
I belive you can do this using layout constraints - I believe it is
mentioned in th Auto layout section of the docs
YES! Last paragraph is what I was looking for.
Thanks a bunch.

Greetings from Germany,
Bernd Fröhlich

_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>

List Help: <***@xojo.com>

Loading...