Jump to content
You must now use your email address to sign in [click for more info] ×

Distribute objects by centerline, edge, and text baseline


Recommended Posts

Hi, is there a way to distribute objects by their centerline (column 2 in the image below) and edge (bottom edge is in column 3) and by text baseline (column 4)? All I can find is to distribute objects by space between objects (column 1), which doesn't solve the problem for objects that aren't equal sizes (like text height). Is there's a trick that will solve the problem without this specific feature? I can somehow manually place #2 and #3 (really annoying and time consuming), but column 4 text is impossible to get perfect by hand.

image.png.b61837c97a55e5d94f03975edfaa9d92.png

Inkscape has additional controls that are hard to do without. But maybe I need to change my workflow...

image.png.6414c77cf5ecf444e7e2778455758710.png

Thanks!

Link to comment
Share on other sites

2 minutes ago, BofG said:

Annoyingly the distribute is limited to space between bounding boxes.

For text, depending on the font, you might be able to set it to all capitals first, distribute it and then set it back to "none" (which despite the name preserves any capitals which were there).

Heh, that's a funny solution. It probably won't work though, unless the same largest character is in all the text.

Is there a reason these other alignment options aren't available? Has it been discussed somewhere?

Link to comment
Share on other sites

 

23 minutes ago, Eigys said:

is there a way to distribute objects by their centerline (column 2 in the image below)

Ensure the top and bottom (that is vertical position on page, not stacking order in Layers panel) objects are in their required location, then select all required objects and do Layer > Alignment > Distribute Vertically.

 

Link to comment
Share on other sites

Note: What I say here isn't quite correct; see later posts for more/better information.

The Affinity way of distributing layers is to put the same distance between the extents of the layers (because there’s no way to specify where the distribution process should take its measurement from, e.g. centre, bottom, etc.).
None of the OP’s examples showed this same-distance distribution – there’s always a different distance between the layers – so I gave an example for using alignments instead.

Edited by GarryP
What I said isn't quite correct.
Link to comment
Share on other sites

17 minutes ago, GarryP said:

there’s no way to specify where the distribution process should take its measurement from, e.g. centre, bottom, etc

See my post above. It has the command for vertical distribution of object centres. There is also horizontal distribution of object centres.

Link to comment
Share on other sites

Ah, thanks for that. I never knew that was a different function. That’s good to know.
Maybe the wording was confusing me.
In the “Alignment” pop-up, when you select “Space Vertically” there’s an option for “Auto distribute” which changes the spacing between the layers, which is the same as choosing menu “Layer → Align → Space Vertically”.
But the menu item “Distribute Vertically” distributes the layers vertically via their centres but is in the “Layer → Alignment” menu.
Maybe if “Auto distribute” was renamed “Auto spacing”, and the distribution options were moved from the Alignment sub-menu to a different sub-menu, to make the differentiation more specific, it might make things less confusing.
Or maybe it’s just me.

Link to comment
Share on other sites

I only left Inkscape because it's not well supported on MacOS. It has all the features I need (but not all I want, like artboards). Nothing is perfect, apparently.

But this particular problem of distribution is a borderline deal-breaker. It's disappointing to hear they may not have the developers to quickly add things like this.

Link to comment
Share on other sites

  • 7 months later...

Guys, this is just brutal. I keep running into this issue and it's mind boggling to me that this isn't supported. How do I align this text to the arrows?! It's impossible! The text here is centered to the arrow, which is clearly stupid. x-height alignment doesn't exist, and any other alignment is dependent on the characters I've typed:

image.thumb.png.2202bd38b5b3cbd25981ea087a445222.png

When can we expect controls to align text suitably?

Link to comment
Share on other sites

On 9/9/2021 at 10:38 PM, prophet said:

Is your text Artistic Text? If you use Text Frames with common dimensions, you may be able to get better results.

That's a good tip, thanks for the suggestion. If I double-click on the artistic box handles, I can get it to size automatically to the baseline so centering is at least consistent. I generally don't like using text frames, but at least I can proceed.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.