Dropin image increases shape size

13 views
Skip to first unread message

Jay Warfield

unread,
May 29, 2022, 6:43:11 PM5/29/22
to diagrams.net Q&A
Hi,

In our shapes implementation where collapsed shapes are restricted to 48x48 (can't be increased or decreased in size) with icons created by svg2xml, when going to Edit Image to dropin an image the collapsed shape is forced to 48x52.  I can then manually decrease the size to 48x48 and the shape then stays at 48x48.  The Expand property is on so I turned off the Expand property but the shape still expands to 48x52 with Edit Image.
 
I also tried a similar scenario with the Square shape under General which has an initial size of 80x80, I add the image=; property and go to Edit Image to dropin an image, the square size is automatically changed to 80x87.

For our collapsed shapes (and similar scenario for our expanded shapes) this could potentially be confusing.  Is it possible for Edit Image to not increase the size of a shape?  

Thanks!
Jay


Reply all
Reply to author
Forward
0 new messages