Problem with Collapsing Window

2 posts, 0 answers
  1. Terance Emory
    Terance Emory avatar
    33 posts
    Member since:
    Aug 2012

    Posted 20 Nov 2006 Link to this post


    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.

    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.
  2. Dimitar Kapitanov
    Dimitar Kapitanov avatar
    632 posts

    Posted 20 Nov 2006 Link to this post

    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
Back to Top