Re: Resizing a window with Shift to keep ration Width/Height

2025-04-06 Thread Miklos Vajna
Hi Laurent, On Sat, Apr 05, 2025 at 02:21:14PM +0200, Laurent Balland wrote: > But it is not used for charts. I noticed that the rules to make proportional > with or without Shift are different between drawing objets and charts : > > - for Drawing objects: default is not proportional > > - for

Re: Resizing a window with Shift to keep ration Width/Height

2025-04-05 Thread Laurent Balland
Thanks Miklos for your feedback. I found the code for Draw both in SdrObject::ImpDragCalcRect [1] and SdrTextObj::ImpDragCalcRect [2] But it is not used for charts. I noticed that the rules to make proportional with or without Shift are different between drawing objets and charts : - for D

Re: Resizing a window with Shift to keep ration Width/Height

2025-04-04 Thread Miklos Vajna
Hi Laurent, On Mon, Mar 31, 2025 at 07:37:49PM +0200, Laurent Balland wrote: > 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 so