: Auto center in Photoshop Is there any way to auto center button and text Photoshop? so when i change the size of the text i wont need to re-align it manually in the button. Many thanks!
Is there any way to auto center button and text Photoshop? so when i change the size of the text i wont need to re-align it manually in the button.
Many thanks!
More posts by @Samaraweera207
2 Comments
Sorted by latest first Latest Oldest Best
You can do this in Photoshop if you look into Photoshop scripting. You do not indicate what version of Photoshop you're using but here is the documentation for multiple versions of Photoshop.
If your target button is on a layer you could do something like:
theButton = app.activeDocument.artLayers.getByName("button");
and then target the text with something along the lines of:
.textItem.Justification.CENTER;
If you are not wanting to go the scripting route I would encourage you to use InDesign as this is what is best suited for this type of thing.
Not in Photoshop. In layout applications such as InDesign and Scribus this is generally possible.
What you can do however is put the text in a text box the width of the button. But vertical alignment doesn't exist (see: How to center text vertically within a textbox in Photoshop).
There are ways to make it a little more efficient using the alignment buttons but nothing that will automatically do what you're after.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.