Resizing a window with Shift to keep ration Width/Height

Laurent Balland laurent.balland at mailo.fr
Mon Mar 31 17:37:49 UTC 2025


Hi,

I'm working on bug 163816 [1] to preserve ratio Width/Height of an OLE 
object (such as a chart in Calc) when Shift is pressed. Work under 
progress is here [2].

I suppose that such behavior is already coded somewhere in LibO (for 
instance when resizing an object in Draw). Can someone provide some 
interesting code pointers?

Thanks for your help.

Best regards,

Laurent

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=163816

[2] https://gerrit.libreoffice.org/c/core/+/177588





More information about the LibreOffice mailing list