0

I want to make a rectangle wider but keep its vertical size and rounded corners. How can I do that without affecting the roundness of corners?

I am using Inkscape 0.92.

0
2

In Edit > Preferences > Behaviour > Transforms, deselect the "scale rounded corners in rectangles" option. You can also disable the "scale stroke width" option. You can also access these options in the controls bar along the top, when you have the Select and Transform tool selected.

Now when you scale the rectangle the corners won't scale.

enter image description here

Another method is to first convert the rectangle to paths using Path > Object to Path, then you can select the nodes on one side of the rectangle using the Edit Paths by Nodes tool, and move them with the arrow keys, or hold down Ctrl as you click and drag one of the select nodes to constrain the angle.

enter image description here

Edit: Further to the comments below, it would seem that there may have been a small glitch when the OP created the rectangle which prevented the OP from using the methods described above. Creating a new rounded rectangle seemed to fix the problem.

9
  • Neither of those work for me. The corners are still stretched after following your instructions in the first one. If I try to convert the object to path it says "no objects to convert to path in the selection". I'll post pictures – user153397 May 23 '20 at 9:23
  • @user153397 How did you make the rectangle? This only works for rectangles you made in Inkscape. It won't work on raster objects you have imported. – Billy Kerr May 23 '20 at 9:25
  • Pictures:i.imgur.com/Jf9X6i1.png and i.imgur.com/WWIVBz9.png. I made the rectangle in inkscape with the rectangle tool, 5th button from top. Then added rounded corners with the 2nd button. – user153397 May 23 '20 at 9:30
  • Sorry, tried to add a line change with enter but instead the message was posted. I added images and more explanations. – user153397 May 23 '20 at 9:32
  • Draw a rectangle and round the corners using the round rectangle control. Watch this. – Billy Kerr May 23 '20 at 9:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.