cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Englishweb
Post Patron
Post Patron

non-breaking space for text in button control

Hello

Is there a way to create a non-breaking space in text in a button control? (  does not work)

I'm using a 'dash' as a workaround but it is not pretty!

non breaking space.png

Thank you in advance for any suggestions.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Englishweb ,

Try 

ThisItem.Student & Char(160) & Char(160) & Char(160) & Char(160) & ThisItem.S1Subject

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @Englishweb ,

This will put a space in

ThisItem.Student & " " & ThisItem.S1Subject

not sure what you mean by non-breaking space as you can control the warp (if any) with the width of the button.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

Hello Warren,

Thanks for your quick reply.

Yes, that works for 1 space max, but the info in the button is still a bit squashed. I was trying to separate the text with a bigger gap between each item. Maybe this isn't possible?

button.png

 

Hi @Englishweb ,

Try 

ThisItem.Student & Char(160) & Char(160) & Char(160) & Char(160) & ThisItem.S1Subject

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

PERFECT! Thank you very much.

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,392)