Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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 
 
 
 
  • WarrenBelz Profile Picture
    146,524 Most Valuable Professional on at
    Can not show blank on the button
    I should have checked my ASCII . . . 32 is a space and 160 is non-breaking space
  • Verified answer
    KevinGuan Profile Picture
    154 on at
    Can not show blank on the button
    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
    146,524 Most Valuable Professional on at
    Can not show blank on the button
    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.
  • Suggested answer
    DBO_DV Profile Picture
    4,530 Super User 2025 Season 1 on at
    Can not show blank on the button
    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. 
  • KevinGuan Profile Picture
    154 on at
    Can not show blank on the button
    hello , DBO_DV , why i can not reply to you responses , i want to say either bigger , the text does not show blank 
  • WarrenBelz Profile Picture
    146,524 Most Valuable Professional on at
    Can not show blank on the button
    I think you need
    "AAA" & "    " & "BBBB"
     
  • Suggested answer
    DBO_DV Profile Picture
    4,530 Super User 2025 Season 1 on at
    Can not show blank on the button
    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. 
     
  • KevinGuan Profile Picture
    154 on at
    Can not show blank on the button
    i updated picture in the post 
  • DBO_DV Profile Picture
    4,530 Super User 2025 Season 1 on at
    Can not show blank on the button
    Hey KevinGuan, 
     
    Could you share an Image of the Textproperty with us so we see whats going on? 

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard