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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery Label's Text S...
Power Apps
Unanswered

Gallery Label's Text String, how to make part of the string Bold and part not Bold?

(0) ShareShare
ReportReport
Posted on by 21

Is there a way to make a string in the Text field of a Gallery's Labels be partly bold and partly normal?

 

For example, I have a Gallery that shows different assets and I have the Layout such that it shows title, subtitle, and body. So, there are 3 labels that display information. I have them showing Asset Name, Asset Make, and Asset Model like this:

Mike_in_IT_0-1658516025261.png

As you can see the whole label is either bold or normal. 

 

Is there a way to make just the first part "Asset Name: " be bold and the actual name "Access Point 1" be normal?

Like:

Strong("Asset Name: ") & "Access Point 1"

Or:

Bold("Asset Name: ") & "Access Point 1"

 

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Mike_in_IT 

    Not with a Label control!

    You can use an HtmlText control instead and the HtmlText property would be:

    "<b>Asset Name: </b>Access Point 1"

     

    I hope this is helpful for you.

  • Mike_in_IT Profile Picture
    21 on at

    @RandyHayes 

    That did it exactly, I just had to make the Gallery a blank and then add the HTML Text boxes into the gallery to make the work the way I wanted.

     

    Thanks!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard