cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Styler region positions relative to custom coordinate system

Styler region positions relative to custom coordinate system

It would be very helpful if it was possible to define a region's position ("X position" and "Y position" properties of a page region) relative to a custom point rather than relative to the out of the box points (page/marging edges or center).

Use case: in a page there are regions and nested regions: positions of nested regions are defined relative to some fixed point within the parent region.

Alessio

5 Comments
SimonTaylor
11-Garnet

Hi Alessio

Could you do something with the named dimensions thing? For example, set a named dimension to the x-position of the parent region and then use that for the child regions?

Perhaps the enhancement would be to allow named dimensions to be used with some mathematics such as x-pos + 5mm...

Simon

Alessio
15-Moonstone

Simon,

are you referring to what Styler called "Sizes"?

I can use a size as the Position X for a region, but cannot perform arithmetic with them.

This is what we have today:

X position: "From left margin" - MySizeX

This is what I'm looking for:

X position: "From MySizeX" - MyRelativeSize

SimonTaylor
11-Garnet

I understand. I was just wondering whether perform arithmetic with the Sizes might be a useful feature, which could be used more extensively than relative region locations...

What do you think?

Simon

Alessio
15-Moonstone

As far as this use case (nested regions), it would be nice to have another region as the reference, just like we have page and margin.

Example:

Region 1: Region reference point = Top left; X position = From left margin, 5mm

Region 11: Region reference point: Center; X position = From left "Region 1", 10mm

This would translate to:

Region 1: the top left corner of "Region 1" is 5mm away (on the right) from the left margin

Region 11: the center of "Region 11" is 10mm away (on the right) from the left border of "Region 1"

As far as being able to perform arithmetic with sizes, this looks a lower-level approach.

It might be more complete (might cover more use cases), but less usable for the specific use case above.

I know you're asking if I can think about other use cases that might be covered by your suggested approach.

One slightly different use case might be "region groups": regions in a group move together as the group is moved. This is equivalent to defining a region for a group and all other regions relative to the group.

The mother of all use cases would probably be creating a flexible layout that would adjust the size and position of a region (at least those marked as "flexible") as other parameters change.

Alessio

olivierlp
Community Manager
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.