[Solved] Align the bigger object to the smaller one

Discuss the drawing application
Post Reply
(philipp)
Posts: 5
Joined: Sun Jul 27, 2008 6:59 pm

[Solved] Align the bigger object to the smaller one

Post by (philipp) »

Hi folks,

Problem: when two objects are selected Modify>Alignment>Center always fixes the bigger object while the smaller is moved.

Preferred solution: A possibility to choose whether the smaller or th bigger one is moved

Description:
i just ran into a problem while drawing a nice little flow chart:

I have a cloud like object and an arrow connecting the cloud to a rectangular box.

Now i want to vertically align the cloud's center to the center of the box. My problem is Draw always moves the box slightly up to match its center to the cloud's center. Draw always seems to fix the bigger object in its position while the smaller one is moved.

I want that the other way round.. Is that possible?

Cheers

Phil
Last edited by Hagar Delest on Tue Jul 29, 2008 10:02 pm, edited 1 time in total.
Reason: tagged the thread as Solved.
OOo 2.4.X on Debian
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: How can one align the bigger object to the smaller one?

Post by acknak »

... Center always fixes the bigger object while the smaller is moved.
I think it's actually more complicated than that; in at least some cases both objects are moved, but that's beside the point.

You can always protect the position of the small object--then only the large object will be moved.

Format > Position and Size > Position and Size > Protect > Position
AOO4/LO5 • Linux • Fedora 23
User avatar
keme
Volunteer
Posts: 3704
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: How can one align the bigger object to the smaller one?

Post by keme »

Actually, Draw will align objects relative to the "surrounding box" for the selection (shown by the green handles). It often looks like the larger object takes priority, because that's more likely to touch both bounds of the surrounding box in the alignment direction.

Solution: Right click on the object you want fixed, and select Position and size. Then under the Position and Size tab, in the Protect section, tick Position.
It works most of the times I've tried, but not always.
Apache OO 4.1.12 and LibreOffice 7.5, mostly on Ms Windows 10
(philipp)
Posts: 5
Joined: Sun Jul 27, 2008 6:59 pm

Re: How can one align the bigger object to the smaller one?

Post by (philipp) »

Ah.. Thanks a lot, acknak!!

That truly does the trick! ;)

Cheers
OOo 2.4.X on Debian
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Align the bigger object to the smaller one

Post by acknak »

... Draw will align objects relative to the "surrounding box"...
Good point!
AOO4/LO5 • Linux • Fedora 23
Post Reply