In draw.io, how do I increase the padding so that the content is farther from the sides of its container?

My situation: I've inserted a rectangle, double-clicked on it, and put in lots of text. I now want some more padding between the text and border of the rectangle.

  • And... how to increase padding for text labels on connector lines?
    – Kalnode
    Feb 17, 2023 at 16:48

1 Answer 1


Select a rectange and set Spacing under Text tab.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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