Hello,
I am working with the current build of the Windows Controls and running into a small issue with the dock control that I am hoping I can get some help with.
When I unpin one of the tool windows and pin it back it comes back slightly smaller each time.
Before Screen Shot
After Screen Shot
Currently I have the following properties that I was hoping would correct this problem but they do not seem to help:
PreferredDockSize: 330, 610
AutoSize: True *
AutoSizeMode: GrowOnly *
*Tried with this both on and off.
I also looked for an event that fired when the tool window was pinned or unpinned couldnt find one (any help here) where maybe I could attempt to set the size with code.
Thanks in advance.
Update:
I noticed it actually does the same thing at design time. If you set the DockState: AutoHide then set it back to DockState: Docked it causes it to get smaller, since you cannot set the Size property with the Property Window you then have to go back into the advanced layout manager and try and eyeball it back to the previous size.
I am working with the current build of the Windows Controls and running into a small issue with the dock control that I am hoping I can get some help with.
When I unpin one of the tool windows and pin it back it comes back slightly smaller each time.
Before Screen Shot
After Screen Shot
Currently I have the following properties that I was hoping would correct this problem but they do not seem to help:
PreferredDockSize: 330, 610
AutoSize: True *
AutoSizeMode: GrowOnly *
*Tried with this both on and off.
I also looked for an event that fired when the tool window was pinned or unpinned couldnt find one (any help here) where maybe I could attempt to set the size with code.
Thanks in advance.
Update:
I noticed it actually does the same thing at design time. If you set the DockState: AutoHide then set it back to DockState: Docked it causes it to get smaller, since you cannot set the Size property with the Property Window you then have to go back into the advanced layout manager and try and eyeball it back to the previous size.