web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Can not show blank on ...
Power Apps
Answered

Can not show blank on the button

(0) ShareShare
ReportReport
Posted on by 154
hello , all 
i write code "AAA    BBBB" in the text property of the button , but it show "AAABBB" , no blank space show , how to modify ?
 
you can see picture below , there is many blanks in text with green lines marked  , but no blanks in the button i also marked green line 
 
 
 
Categories:
I have the same question (0)
  • Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at
    Hey KevinGuan, 
     
    Could you share an Image of the Textproperty with us so we see whats going on? 
  • KevinGuan Profile Picture
    154 on at
    i updated picture in the post 
  • Suggested answer
    Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at
    Hey, 
     
    So what I think could be the case is that your Button is to small for the text.  So you get a line Break and the spaces are sort of Hidden. 

    So either you need to make the text smaller or your button bigger. 
     
    If this solved your problem please accept it as solution so others can find it as well. 
    If it helped in any other way consider liking it so we can keep supporting each other. 
     
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at
    I think you need
    "AAA" & "    " & "BBBB"
     
  • KevinGuan Profile Picture
    154 on at
    hello , DBO_DV , why i can not reply to you responses , i want to say either bigger , the text does not show blank 
  • Suggested answer
    Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at
    Okay maybe you could try the way Warrenbelz proposed. 
    If that doesn't work you can try to change it like this. 
     
    "AAA"&Char(32)&"BBB"
    Char(32) will return one Blank space so if you want more blank spaces you can simply add more "Char(32)&"
     
    if that also doesn't help try this.
    "AAA"&" - "&"BBB"
    Since a a blank space can be hidden de "-" will force the button to let you see whats happening. 
     
    If this solved your problem please accept it as solution so others can find it as well. 
    If it helped in any other way consider liking it so we can keep supporting each other. 
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at
    I will leave you with DBO_DV - just came in to get the discussion rolling in the right direction - Multiple Char(32) non-breaking space characters is a better alternative to make sure more than one space persists.
  • Verified answer
    KevinGuan Profile Picture
    154 on at
    hello, WarrenBelz & DBO_DV  ,thanks for your all suggestion ,now i find finnal solution , 
    This code can only insert one space , Multiple Char(32) can not insert more 
    "AAA"&Char(32)&"BBB"
     
    now i find char(160) it can insert more and more space ,
    please see example 
     
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at
    I should have checked my ASCII . . . 32 is a space and 160 is non-breaking space

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard