I use to be able to have Carriage Returns in Labels by using the Char function:
"Line 1" & Char(13) & "Line 2"
Which would look like:
Line 1 Line 2
Now the label just appears as a single line with the Carriage Return omitted:
Line 1Line 2
With the latest PowerApps release, it appears labels no longer support the use of Char(13)? Multiline is still supported when I try (which is awful to deal with in the Formula Bar):
"Line 1" & " " & "Line 2"
Hi @itsmeqp ,
Based on the issue that you mentioned, I have made a test, and the issue is confirmed on my side. I think this issue is related to the updates of PowerApps.
As an alternative solution, I think the Char(10) function could achieve your needs. Please take a try with the following workaround:
Set the Text property of the Label control to following:
"Line 1" & Char(10) & "Line 2"
Please take a try with above solution, then check if the issue is solved.
Best regards,
Same problem. Char(13) and Char(10) no longer functioning [ie no Line Break/Carriage Return] on an app first published many month ago.
Labels used to have multiple lines of text, but are now on one line.
Hi @itsmeqp ,
Have you taken a try with the solution I provided?
If the solution I provided above could achieve your needs, please go ahead to click "Accept as Solution" to identify this thread has been solved.
Best regards,
I don't believe this solution works for the Text control in buttons:
"Line 1" & " " & "Line 2"
At least I wasn't able to make it work.
@v-xida-msftThe workaround achieves my needs, but I agree with the other users that this is not a solution. Is there any intent of having this resolved?
Use "<br>" instead of Char(10).
Thanks it worked for me appreciate it
User | Count |
---|---|
168 | |
96 | |
79 | |
72 | |
59 |
User | Count |
---|---|
210 | |
167 | |
98 | |
93 | |
78 |