Skip to main content
Johdear
Participating Frequently
Apr 19, 2021 7:05 AM UTC
Question

Center text inside a button

I know this should be like the easiest thing to do, but im totaly stuck. I just want o center the text! I choose the button frame then the text and align center, but its off!!

 

    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Johdear
    JohdearAuthor
    Participating Frequently
    Apr 22, 2021 6:15 PM UTC

    Thanks for your help, yes i guess it depends on the font..

    Translate
    Myra Ferguson
    Community Expert
    Community Expert
    Apr 19, 2021 2:25 PM UTC

    You can change the size of the text box without changing the font size by either creating area text (draw out the rectangle with the text tool and enter the text there) or select your existing text and in the Text section on the right, click on Fixed Size (icon is a box with lines inside representing text). Then you can center it based on the new size of the text box.

    Translate
    monterxz
    Inspiring
    Apr 19, 2021 11:12 AM UTC

    Your text object is centered correctly, but your font has an uneven top and bottom margin (blue outline around text). There is no easy way to center text itself unless Adobe makes XD to consider letter height instead of text object's height.

    Translate