Dirkster99 / AvalonDock

Our own development branch of the well known WPF document docking library
Microsoft Public License
1.41k stars 321 forks source link

Documents do not resize, when dragging a tab #419

Open MariusMichelPrimes opened 1 year ago

MariusMichelPrimes commented 1 year ago

I am a bit flabergasted to realize, that there seems to be a bug in the code for at least 2 years. Just open the TestApp, have two document tabs and drag one of them out, to add another tab control. Then drag it out again to change it to a window. The space it previously occupied is not filled by the other tab.

MariusMichelPrimes commented 1 year ago

The problem seems to be somewhere in the changes to DocumentPaneDropTarget.cs from 15.01.2021. When I revert those changes it works as expected.