Can you implement the above so that when you start to drag a window, Heidi keeps track of what the ratio of panel sizes are, so that when you drop the window, that ratio is re-applied. This must be a ratio, not a size so it works regardless of resolutions of source/destination monitor.
This should apply to the 'DB Tree', 'query panel', 'results panel' and 'log panel'.