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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,289)