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

Dockable objects when manager disabled

1 Answer 43 Views
Dock
This is a migrated thread and some comments may be shown as answers.
John Horlock
Top achievements
Rank 1
John Horlock asked on 16 Apr 2008, 03:30 PM
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

1 Answer, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 22 Apr 2008, 03:15 PM
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;
}

Tags
Dock
Asked by
John Horlock
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
Share this question
or