Jump to content

Recommended Posts

Posted

Hi!

I'm confused as to how Scale Override is supposed to work. I've got elements in my artwork that will need resizing for multiple formats, and I'd like to keep the relative corner radius (as well as line weights in other elements) as is. No matter how I set up the Scale Override properties, when scaling my objects the corner radii just keep their absolute values.

Pictured, a button before & after resizing:image.thumb.png.854d98707fc6488cc47d2abe549b8c06.png

My transform panel / scale override preferences:

image.png.302affaa3c1f37f96b2f0cda782560f0.png

How do I make sense of this? Thanks!

Posted

Can you upload an Affinity document with both those buttons in it.

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Posted

The only way I can replicate your small rectangle is by starting with a rectangle and tick the check box for Absolute Sizes and perform non-aspect scaling

If I select the large curve (the group layer) in your document, then hold the shift key and scale from a corner node it all works as expected 

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Posted (edited)

Thank you for checking. I tried with a rectangle with corners set as a path property:
image.png.696ccaab63e5581d33d494edcc8aaf1b.png

And yes, when done like that it behaves as expected. I still cannot replicate this with my original button, I'm starting to think that it's because I've used the corner tool to round the corners, and AFAIK the corner tool only deals in absolutes. But then again a) you say you were able to replicate the effect with my original buttons & b) that doesn't seem like it's right, I mean we're talking "overriding scales" so it should take priority no matter the tool. 

Also – scale override doesn't really matter in the scenario where you *don't* use absolute values for corners, since it's a percentage anyway, it's going to scale with object by definition.

Edited by m_d
New context
Posted
9 minutes ago, m_d said:

I'm starting to think that it's because I've used the corner tool to round the corners

OK, that was the missing part of the puzzle

By using a Rectangle then using the corner tool to round the corners I can recreate the effect you are seeing

You will notice that when you use the corner tool on a rectangle shape the rectangle changes to a curve in the Layers panel but the context menu still gives you the option to convert to curves. If you click that option then it behaves correctly when scaling. Also, when using the corner tool you have the option to "Bake Appearance". If you use that option, it also scales correctly.

I'm not sure if scale override should override the Corner Tool's corners or not (if you have not baked the corners)

 

 

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

  • 6 months later...
Posted
On 11/25/2024 at 3:16 PM, carl123 said:

The only way I can replicate your small rectangle is by starting with a rectangle and tick the check box for Absolute Sizes and perform non-aspect scaling

The "absolute sizes" is only available on the rounded rectangle shape's context toolbar. It's not available for rounded corners made with the corner tool, which always uses fixed values. Those corners don't scale with an object unless the corners are "baked".

It shouldn't be necessary to destructively apply shaped/rounded corners in order to scale them. This thread deals with the same topic.

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.