Dockable objects when manager disabled

2 posts, 0 answers
  1. John Horlock
    John Horlock avatar
    22 posts
    Member since:
    Jun 2007

    Posted 16 Apr 2008 Link to this post

    Hi

    When a dockingmanger is disabled all of the dockableobjects appear OK, but seem to suffer from some padding accross the top where the title bar is when the dockingmanager is enabled.

    How could i go about setting so that when the drag / drop functionality is switched off, that the dockableobjects in the zones appear at the top of the zone and not x pixels down.

    I have looked at the Skin style sheet and have not been able to get this to do what i want.
    I have tried setting style on the zones and objects - but again with no luck.

    Its really when the title / grip bar is not shown i don't want it to take up any room.

    Also the docking zone seems to have some top padding - how could i go about removing this?

    Thanks
    john
  2. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 22 Apr 2008 Link to this post

    When the RadDockableObject is disabled the RadDockableObjectDisabled class is applied to it. So you should change only this class in the skin file.

    You can remove the RadDockZone padding by changing the .RadDockingZone class, e.g.
    .RadDockingZone
    {
        border: 1px solid #b8b8b8;
        padding: 5px 0 0 5px;//change this line to be: padding: 0 0 0 0;
        background-color: #f7f7f7;
    }

Back to Top