Hi guys,
When having text input control as one of a Datacard, as I set the Mode to be Multiline, is it supposedly the height of the text box sync with he text inside ? I mean when my data have 3 or 4 lines (I setup manually by using Char(13)), does the text input height became 3 x 32 as the default height is 32 ?
I'm facing weird output as when it is displayed, it is looks like displaying the last line but there is scroll at the end of the input. How to make the text input when on display mode, its height follows what my data (text) is, means when it is 3 lines then the height will be 3 x 32 ?
Thanks
Solved! Go to Solution.
Hi @iAm_ManCat ,
An update. It is because of Custom Page. I need to turn on Classic Control which is an upcoming features - experimental and use the control from this Classic instead.
Thanks again.
Hi, there is no autoheight for text inputs, you will have to either do this mathematically by working out how many characters per line at that font size and then multiply the height based on that, or else have your text input default to 3x32 and let people fill as needed.
@iAm_ManCat |
My blog |
Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you! |
Thanks! |
Hmm.. I would say, not much for the "low code" then 😂
Yeah I even try to use Label instead, since Label has property Auto height, but then right after that label I put some "line" (rectangle) with the "Y" value referring to the Label's height above it. It turns out even though the label it self auto height, its height value turned out to be zero so I can't use it for Y of the line below it.
Hmmm, I was able to reference the Height of an autoheight label with the same text in it to change the text input height, so maybe look at why the value is showing as zero - is it in a gallery?
@iAm_ManCat |
My blog |
Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you! |
Thanks! |
No, it's not inside a gallery. I only use it inside a EditForm but put as View mode.
I'm creating Custom Page though, wonder if that is the cause of not working.
Probably should do the math manually like you suggested, just looking where I should put the code correctly and effectively, because with Custom Page, it is one screen only and this Edit form is inside a Container.
Thanks.
Hi @iAm_ManCat ,
An update. It is because of Custom Page. I need to turn on Classic Control which is an upcoming features - experimental and use the control from this Classic instead.
Thanks again.
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
180 | |
137 | |
96 | |
83 |