Preserve corner radius when resizing
If I'm drawing a rectangle and setting a corner radius of X, and need to resize that rectangle's width, I'd like to just be able to push one side without having the other side's corner radius "squashing" up.
Currently it's possible to do so by editing vector points and just selecting the left or right-side point group, but it wastes a bit of time. Thanks :)
Got it. Currently, that’s expected behavior, as double clicking and adding points converts it from a rectangle (which will maintain the corner radius) to a path, which has a different set of rules for resizing (for things like icons). I think what you want is this behavior: https://adobexd.uservoice.com/forums/353007/suggestions/12962355. If this looks good, I’ll go ahead and merge this story with that one.
Are you double-clicking on Rectangle within a Group to select it? If so, try using Cmd-click on Mac (Ctrl-click on Windows) to select item inside a Group. This does not have the "convert to Path" behavior.
Hope his helps,
Espen Klem commented
I understand the part where you add, remove or move anchor points makes a retangle into a path. But I'm not doing that and still end up with rectangles transformed into paths.
I'm guessing it has to do with grouped elements (rectangles) and then I click a lot to get one rectangle and end up transforming it.
I've tested to see when it happens, and I've figured out one (for me) unwanted behaviour. If you double click a rectangle and make it a symbol, the symbol will turn into a path., loosing control of rectangle corner radii.
I think I'm finally getting the issue :)
When you single click on a Path, you can resize it, but all points (including corner radii) resize proportionally. In Path editing mode (double-click), you can also multiple select Path anchor points (using shift-click or marquee-select) and move them together (using keyboard nav keys or dragging mouse over one of the points).
Does that help?
Well it's more about "resizing a path" and less about "having rounded corners on any shape".
But actually, I realize that the idea would be to define "break points" in an irregular shape, so that you could resize the shape with handles without having to go into path mode.
In your description you say you are "drawing a rectangle" and then "resize that rectangle's width" so it sounds like there is no need to convert the Rectangle to a Path. Can you try the same recipe except "single-click" instead of "double-click", and achieve the desired results?
Hi Elaine — sorry for the delay. Currently it seems resizing only preserves corner radius if the path is left untouched. E.g. If I create a rectangle with a radius of 11 and resize it, no problem. But if I:
a) double-click it to edit path,
b) select the vector corners and resize,
c) Exit path editing and,
d) Resize a side,
Then the corner radius changes again.
It sounds like you are resizing a Path. This should not happen when resizing a Rectangle.
If you double-click on a Rectangle, it gets automatically converted to a Path. You can also explicitly convert objects to Path. Could that be what happened?