The Align tool is valuable to align the picture layers via miscellaneous image objects. When this tool is schosen, the computer mouse pointer turns to a small hand also. By clicking an facet of a layer in the image, you select the layer which will certainly be relocated (with Change + click, you deserve to choose numerous layers to be aligned); this focused layer has actually tiny squares in corners and is dubbed source. Then buttons in the dialog end up being active (they remain active during all the session): they enable you to choose the target, i.e various other layer, selection, path, the source will certainly be aligned with.

You are watching: How to center a layer in gimp

4.2.1. Activating the Device

You have the right to activate the Align tool in a number of ways :

from the image-food selection, through: Tools → Transform Tools → Align,

by clicking on the tool icon:

in the toolbox,

by using the Q key-board shortcut.

4.2.2. Key modifiers (Defaults)

You can pick numerous layers by holding Shift when clicking the layers.


Sometimes it"s less complicated to pick multiple layers utilizing rubber-banding: click somewbelow external an imaginary rectangular region covering the layers you want to select. Then drag out that region by moving the tip, and also release the computer mouse button. Now eexceptionally layer, which is totally inside the dragged rectangle, is schosen.

Keep in mind that currently there is no targain “first item” the schosen layers can be aligned on.

4.2.3. Device Options

Figure 14.120. Tool Options for the Align tool


Generally, tool alternatives are presented in a home window attached under the Toolbox as shortly as you activate a tool. If they are not, you have the right to accessibility them from the image food selection bar with Windows → Dockable Windows → Tool Options which opens up the choice window of the selected tool.

Relative to:

In this drop down list, you pick the target, the picture object the layer will be aligned via.

First item: the first schosen item once picking multiple layers holding the Shift key. Note that tright here is no “first item” as soon as you pick multiple layers using rubber-banding.

Image: the image is the target.

Selection: the selection is the targain.

Active layer: the energetic layer, in the layer dialog, is the tarobtain.

Active Channel: the active channel, containing a choice you made prior to, is the tarobtain.

Active Path: the energetic route is the target.

Align butlots

These buttons come to be active once a target is selected.

Align left edge of target: to align left edge of resource with left edge of tarobtain.

Align center of target: to align center of source on the vertical middle line of target.

: Align best edge of target: to align best edge of resource through appropriate edge of tarobtain.

: Align height edge of target: to align top edge of resource with optimal edge of targain.

: Align middle of target: to align facility of resource on the horizontal middle line of taracquire.

: Align bottom edge of target: to align bottom edge of source via bottom edge of targain.


An photo with a choice, layer #1 (background) is energetic, layer #2 is cropped to content, layer #3 is a text layer.


We click on the yellow circle: layer #2 becomes the source. We want to send this source to the middle of the selection: the Relative to alternative is set to “Selection”.


Align facility of target clicked


Align middle of target clicked

Distribute buttons

These options are supplied when you have a number of targets and want to arvariety them. Here, layers schosen through Shift + Click are called “targets” . But they are actually resources. “Relative to” alternatives are energetic to set the tarobtain. These changes are usually family member to “Image”.

These alternatives work as Align alternatives, but you can deserve to add an counter and brand-new choices are easily accessible to distribute resources evenly.

: Distribute left edges of targets: to distribute left edges of sources on the left edge of the targain (the image).

: Distribute horizontal centers of targets: to distribute centers of resources via facility of the target horizontally.

: Distribute right edges of targets: to distribute best edges of resources on appropriate edge of the taracquire.

: Distribute targets evenly in the horizontal: to distribute resources evenly horizontally.

: Distribute left edges of targets: to distribute optimal edges of resources on peak edge of tarobtain.

: Distribute vertical centers of targets: to distribute centers of sources with center of tarobtain.

: Distribute bottom edges of targets: to distribute bottom edges of resources through bottom edge of taracquire.

: Distribute targets evenly in the vertical: to distribute resources evenly vertically.


This offset deserve to be positive or negative and is expressed in pixels. Distribute add it to the left edges, horizontal centers, appropriate edges, optimal edges, vertical centers, or bottoms of resources.

Figure 14.121. Example for the “Distribute” commands

Base image: 3 layers. (Distribute ideal edges of targets) will certainly be provided.

Active layer is yellow (target). Offset = 0: all layers are aligned on the the appropriate edge of the yellow layer.
Active layer is yellow. Offcollection = 10:
New feature in shows relative collaborates (horizontal or vertical) once relocating guides and also sample points. Coordinates are loved one to the begin of moving.

4.2.4. A helpful instance for “Distribute”

Figure 14.122. Origin

Four text layers, via exact same size. We desire to align them at facility of image.

We select them as sources via Shift + Click.

The default taracquire (Relative to) is “Image”. Offcollection = 0. We used the (Distribute vertical centers of targets) command also.

After using the (Distribute targets evenly in the horizontal) through balance out = 5.

4.2.5. Align using the rubber-band also box

Figure 14.123. Align making use of rubber-band also box

We clicked left from and over the red layer, and also dragged out a region spanning the red and also the yellow layer by relocating the pointer towards the bottom appropriate edge.

“Selection” is the reference. After a click the button, both layers align via the left side of the selection.

See more: How To Find The Area Of A Composite Figure S 7Th Grade, Finding The Area Of A Composite Figure

4. Transdevelop Tools 
 4.3. Move
Report an error in the bug tracker