Multi-line labels are present in many images created using the graphics editor Adobe Photoshop, so it provides some tools for working with text blocks. Of course, one should not expect from a program for working with graphics the same capabilities that a word processor provides, but the functions of alignment - "justification" - of the text are in it.
Necessary
Graphic editor Adobe Photoshop
Instructions
Step 1
The formatting tools for text boxes in Adobe Photoshop are placed on a separate panel called "Paragraph". If you do not see a shortcut with such a name among the currently open panels, open the "Window" section in the editor's menu and check the box next to the "Paragraph" item.
Step 2
By default, all entered text is left-aligned, but a separate button to enable this formatting option is on the panel - the very first in the top row. When you hover the cursor over this icon, the tooltip "Justify text to the left" pops up. If you need to set the justification to the center, click the second icon of this row, and to align it to the right - the third one.
Step 3
In the same row of buttons, there are four more icons, three of which set the position of the "hanging" lines - this is the incomplete last line of the paragraph to which width formatting has been applied (alignment on both edges of the line). They have the same options - left justification, center justification, and right justification. However, by default, these buttons are inactive, since the entered text is not considered a paragraph, but only separate lines. The last icon of this row is also inactive - it must include alignment on both edges. To convert individual lines to a paragraph and access these four tools, right-click the text layer in the toolbar and select Convert to Block Text from the pop-up context menu.
Step 4
Use the other four margins in the Paragraph panel to set the indents before, after, to the left and right of the text block, and the amount of indentation from the left edge of the block of the first letter in the first line of the paragraph. These dimensions are given in numbers and measured in pixels.