This is a migrated thread and some comments may be shown as answers.

Problem with Collapsing Window

1 Answer 130 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Terance Emory
Top achievements
Rank 1
Terance Emory asked on 20 Nov 2006, 03:27 PM
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.

1 Answer, 1 is accepted

Sort by
0
Dimitar Kapitanov
Telerik team
answered on 20 Nov 2006, 05:18 PM
Hello Terance,

My name is Dimitar Kapitanov and I' am the person who governs the RadDock component development. We are aware of the resize problem when changing from autohide to docked and back and we are working on its solution as we speak. We will try our best to fix it for the upcoming SP release this week.

Regarding the events that fire during pin/unpin or autohide/dock operations, we implemented two more generic events in the DockManager: DockingStateChanged and DockingStateChanging. The later is cancelable for better control.

Do not hesitate to write back in case you need further assistance.
 

Sincerely yours,
Dimitar Kapitanov
the telerik team
Tags
Dock
Asked by
Terance Emory
Top achievements
Rank 1
Answers by
Dimitar Kapitanov
Telerik team
Share this question
or