Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change object reference point for more flexible positioning (easy symmetry) #690

Open
zalexzperez opened this issue Jan 10, 2025 · 0 comments
Assignees

Comments

@zalexzperez
Copy link

When we are looking to achieve symmetry in our designs, a distance measurement tool can come in handy.
Consider this example as reference:

image

The horizontal red lines are the same length, revealing the two buttons, identical in width, are not positioned exactly at the same distance from the borders.

This tool, however, would only help during inspection. These two questions arise:

How could be achieve this symmetry without manual coordinates calculation?
How could be keep this symmetry if object width later changes?

Being able to change the object's reference side (and the display's reference side) would tackle this problem.
For example, if we wanted to make the button's right side 212px from the right border of the display, we'd set it like this:

image

The opposite symmetrical button would take the same value but use the default Left reference.

Same thing for vertical positions (Top / Bottom references).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants