This project has moved and is read-only. For the latest updates, please go here.
1

Closed

DockManagerWorkSpace.CreateDockPanel fails to add tabbed docks

description

when you want to add 2 or more tabbed dockpanels to exisitng one, it only tabs first one and the rest are added ignoting tabbing.
 
it seems the problem is these lines in docmanagerworkspace.cs (lines 72-73)
 
dockPanel = dockManager.AddPanel(smartPartInfo.Dock);
    dockPanel.DockAsTab(dockRootPanel);
 
 
they should be replaced, with
 
dockPanel = dockRootPanel.AddPanel(smartPartInfo.Dock);

This also would solve other problems and is more intuitive.
 
Thanks
Closed Apr 4, 2009 at 5:31 AM by DevLynx
Fixed in change set 24395

comments