I'm working on a program with different tool windows docked on the left and right of the main window. All of these windows have auto hide functionality. When I hide the window and then hover over (or click) the name on the side to open it again, the window expands to the same size as it was before the window was hidden. If I then move this tool window, dock it on the bottom, for example, of the main window and then hide it again, as I hover over the name of the tool window the tool window expands to the size of almost the entire window. I compared my program with the Sample Browser (RibbonWindow and Docking Demo Browser) to find that it has the same functionality. Is there a way to prevent the tool window from expanding to take up so much space? I would like the tool window to expand to the size when it is docked but not hidden, so it does not take up the entire dock-able window length or height. Is there a variable that controls the size of an expanded hidden toolwindow?
Thank you in advance!!