centering text within a selection - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: centering text within a selection (/Thread-centering-text-within-a-selection) |
centering text within a selection - gib65 - 07-24-2019 Hello, I'm wondering how I can center something within a selection. So I've got this: I'd like to center the text "prepare wireframes" within the yellow box. So with the fuzzy select tool, I select the yellow area inside the box. Then I switch to the "prepare wireframes" text layer. You can see the layer border in the image above (which also happens to crop the selection). Then I select the alignment tool. Then I click on center horizontally. But nothing happens. How can I center the text inside a selection? RE: centering text within a selection - rich2005 - 07-24-2019 Tried all sorts but can not get your image at shahspace.com/prosperus/ Can you post it on some other file sharing site such as imgur.com RE: centering text within a selection - tmanni - 07-24-2019 Follow these steps: 1) choose the Alignment tool 2) click on your text layer. You should see 4 small white squares in the corners of the text layer 3) in the tool options, in the "Relative to" list, choose Selection 4) click on the button Align center of target and/or Align middle of target RE: centering text within a selection - rich2005 - 07-24-2019 OP has similar previous post here: https://www.gimp-forum.net/Thread-centering-layer-in-selection I would still like to see an example image in case there is something not normal. RE: centering text within a selection - Ofnuts - 07-24-2019 To attach screenshots so that we can understand your problem, see here. RE: centering text within a selection - gib65 - 07-25-2019 Thanks everyone, Sorry about the screen shot. My IP address recently changed without my knowing so now I have to update the A record. tmanni's 4 steps worked. I learned something in the process: if the text layer is part of a layer group with other text layers, it will attempt to center the whole group. I had to move the text layer out of the group in order for it to work. Anyone know a way to get around this? RE: centering text within a selection - Ofnuts - 07-25-2019 (07-25-2019, 01:29 AM)gib65 Wrote: I learned something in the process: if the text layer is part of a layer group with other text layers, it will attempt to center the whole group. I had to move the text layer out of the group in order for it to work. This is true even for non-text layers. Behavior is the same in 2.8. Known problem: https://gitlab.gnome.org/GNOME/gimp/issues/983 RE: centering text within a selection - Krikor - 07-26-2019 (07-25-2019, 06:49 AM)Ofnuts Wrote:Coincidentally, I had this same problem today, and I also needed to remove the layer from the group in order to align it.(07-25-2019, 01:29 AM)gib65 Wrote: I learned something in the process: if the text layer is part of a layer group with other text layers, it will attempt to center the whole group. I had to move the text layer out of the group in order for it to work. So in the other nine layers, I needed to do the same editing, I aligned before including the layer in the group. I was just about to see if anyone around here could know anything that would solve this obstacle, but ... c'est la vie. |