Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a shape a fixed size, in draw.io?

Tags:

draw.io

I have draw.io hosted locally and we are using it to have a visual representation of what pallets are where in our warehouse. The problem is that is that when dragging pallets around you often accidentally resize them, which is a pain. Is there anyway i can disable this or lock the size of the pallets?

like image 775
Carl Piper Avatar asked Sep 21 '25 10:09

Carl Piper


1 Answers

Select a shape and in the right-hand format panel click "edit style":

draw.io format panel

The style is a set of key/value semicolon separated pairs. Add resizable=0; to the style and press OK:

enter image description here

When you duplicate this shape the style will also be copied. You might also want to create a custom library with the style present.

like image 106
Thomas the Tank Engine Avatar answered Sep 23 '25 21:09

Thomas the Tank Engine



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!