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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
194 | |
52 | |
41 | |
39 | |
35 |
User | Count |
---|---|
263 | |
86 | |
71 | |
69 | |
66 |