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 / center alignment for d...
Power Apps
Unanswered

center alignment for dropdown data

(0) ShareShare
ReportReport
Posted on by

Hello All,

 

Does anyone know how to make center alignment for the data inside dropdown box, below example: i want to make the word Athens in the middle. 

 

skalkhathran_0-1612790352893.png

 

Categories:
I have the same question (0)
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    I don't think there are any alignment options for dropdown controls.

  • Verified answer
    v-jefferni Profile Picture
    on at
    //30 is the approximate width of the dropdown arrow button, 10 is the width occupied by each letter

     

    146.png

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

    Hi @Anonymous ,

     

    Maybe you could use "PaddingLeft" property to define the Text location in the Dropdown like below, if string length are basically the same:

    (Self.Width-30-Len(Self.Selected.Value)*10)/2
                          
  • -aj Profile Picture
    120 on at

    This doesnt look the same when nothing is selected or selecting from dropdown. Any Suggestions?

    aj_0-1672171827639.png

     

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