ToolWindow not remembering floating size

Posted 20 days ago by Avatar rex hui

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?

Comments (4)

Posted 18 days ago by Actipro Software Support - Cleveland, OH, USA


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?

Actipro Software Support
Posted 18 days ago by rex hui

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.

Posted 17 days ago by Actipro Software Support - Cleveland, OH, USA


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.

Actipro Software Support
Posted 17 days ago by rex hui

Ok, I understand it is by-design now even though I don't totally agree.

Information The latest build of this product (2018.1 build 0670) was released 7 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.