: Changing text from 2-lines to 1-line - how to center the text field in a square again? I am developing a word game for iOS and would like to use an SVG file as the gaming board. The SVG
I am developing a word game for iOS and would like to use an SVG file as the gaming board.
The SVG file (author: Denelson83, Wikimedia Commons) is almost perfect for my game - except that I would like to use 1-lined texts (like "3W", "2L", etc.) instead of the 2-lined texts in the original.
So I click a colored square that I'd like to change and then press SHIFT-D to jump to the original group.
Then I change the 2-lined text to a 1-lined text (in the screenshot below it is "3W" in the red square):
My question is: how to center-align (both vertically and horizontally) the text again?
Or as alternative: make the text field fill its parent at 100% width and height?
UPDATE:
I've found the Alignment dialog, but what to select there?
Clicking the 3rd icon in the 1st and 2nd row doesn't change anything:
More posts by @Berryessa866
1 Comments
Sorted by latest first Latest Oldest Best
You can't align an object with itself. You can only align objects to each other. So if you're going to use the align tools, you need to select your text AND the box you are aligning it to, then apply the filters.
Another option is to make your text box the exact same height and width as your background box and then use the text tool's alignment features instead to align the text within its own text box.
(PS. remember the conditions of the license. You'll have to release your own game under the same CC license if you use this artwork.)
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.