Text not autosizing text box by default #5409
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
|
You can make text auto-resize the bounding box by default by adding the following to Extras > Configuration: {
"defaultVertexStyle": {"autosize": 1}
}This sets the default style for all new vertices, so any new text you create by double-clicking on the canvas will auto-resize as you type. For a quick fix in the current session, you can also select a text shape that has the style you want, then use Edit > Set as Default Style. This will apply that style to all new shapes you create for the rest of the session. You may also be interested in the newer Autosize Text cell style option (also in the Format panel). Instead of resizing the shape to fit the content, it does the opposite — it adjusts the font size to fit the current shape bounds. See https://x.com/drawio/status/2029244732224729567 for a demo. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Not sure how to describe this issue. But it changed recently. I double-click and create text in draw.io daily. It used to auto-size the text box, but has stopped doing so. I was able to fix it on one document, but cannot seem to fix it globally. If someone can provide a fix so that I can fix this on my own or if an update can be pushed to resolve that would be awesome. Attaching a screenshot to best show this issue. The dotted line used to automatically resize as I typed.
Beta Was this translation helpful? Give feedback.
All reactions