When a floating ToolWindow is docked and then float again, it does not preserve the floating size it was before it was docked.
Is there an option to set?
When a floating ToolWindow is docked and then float again, it does not preserve the floating size it was before it was docked.
Is there an option to set?
Hello,
I'm not seeing that behavior in our latest unreleased codebase. Can you tell us exactly how to reproduce it in one of our samples so that we can try the same steps?
Just the Docking & MDI Simple IDE Demo can reproduce it.
If you undock a toolwindow and resize it to X, then dock it back and drag it out again, the size X is not preserved.
Hello,
If you do the same thing in Visual Studio (which we generally try to mimic), it behaves the same. Because you docked it into a container by dragging, it will assume that size when dragged out again.
If on the other hand you right click and select Dock on a floating tool window to dock it and then right click on the now-docked tool window and select Float, then it will restore back to its original floating size. In this case it has a hidden breadcrumb container to restore back into.
Ok, I understand it is by-design now even though I don't totally agree.
Please log in to a validated account to post comments.