Rank: Newbie
Groups: Registered
Joined: 9/28/2019(UTC) Posts: 3 Location: North Yorkshire
|
Just started with MobileTogether and I cannot get multiline edit fields to work. I worked through the first online tutorial and got that working. Then I wanted to make the one-and-only edit field present multiline. I found the Multiline property and set that to true, but that doesn't work - still only one line. In the manual I found "If this property is set to true, and if the Text Size Auto-Fit property is not enabled, then the text will not wrap ...".
Where can I find the "Text Size Auto-Fit" property? I have found "Text Size". Is "Auto-Fit" a property of "Text Size"? If not then is there something fundamental that I am missing?
|
|
|
|
Rank: Administration
Groups: Registered, Administrators Joined: 7/21/2014(UTC) Posts: 498
Was thanked: 88 time(s) in 88 post(s)
|
There is some misunderstanding - you don't need the Test Size Auto-Fit property. All is needed is to set Multiline to true as you did. What do you mean it doesnt' work?
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/28/2019(UTC) Posts: 3 Location: North Yorkshire
|
What happens is that when I set MultiLine to true, and then run my program, the edit field looks exactly the same. When I type something in and it reaches the rhs of the control it does not wrap the text, or scroll up, and pressing return does not start a new line.
|
|
|
|
Rank: Administration
Groups: Registered, Administrators Joined: 7/21/2014(UTC) Posts: 498
Was thanked: 88 time(s) in 88 post(s)
|
This makes no sense - multiline text fields are a very common feature and work everywhere. Can you send a sample please? Also, which Designer version are you using?
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/28/2019(UTC) Posts: 3 Location: North Yorkshire
|
OK. I have attached a sample. You can see in the XML that MultiLine is set to 1 (meaning true I suppose). I am using designer version 5.4.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 7/22/2019(UTC) Posts: 22 Location: Vienna Was thanked: 4 time(s) in 4 post(s)
|
Hi,
please set multiline to true for the label as well. Otherwise you'll have multiline text editable but you display it in a single line in the label.
The multi line edit field itself works fine for me in your sample. Also with wrapping. If you want to manually add a newline please remember to use ctrl+return.
best regards
|
|
|
|
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.