16

I am new to draw.io, and find it tedious that after inserting a text box and typing text in it, I have to manually resize the text box such that the entire text fits in. Is there a shortcut to automatically resize the text box, such that it fits the text exactly?

1 Answer 1

10

You can autosize from the Arrange menu. It supports the operation on multiple cells:

enter image description here

4
  • 5
    Thanks! Is there also a possibility that you fix the width and that the height of the text box is adjusted automatically? Feb 4, 2015 at 15:33
  • 1
    @physicalattraction, If you turn on word wrap in the Format panel, you can drag the handles of a text box, and it'll keep wrapping the text to accomodate the new size. If you then only drag in the lower middle handle, it'll keep the width, or the right/left middle handle and it'll keep the height.
    – holroy
    Aug 13, 2015 at 23:25
  • This control is now a little square box with arrows pushing out the top and right sides. It only says Autosize if you hover over it. At least in my chart.
    – Noumenon
    Aug 18, 2017 at 0:37
  • 1
    @physicalattraction. Someone created an issue requesting this functionality, here: github.com/jgraph/drawio/issues/2732. Jun 8, 2022 at 10:08

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.