Profile Picture

Docking Panels and extra resize bars

Posted By Jeff Proefrock 11 Years Ago
Author
Message
Jeff Proefrock
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 3, Visits: 1
All,
I am using Docking Panels as seen in the attached image. My problem is there is an extra resize bar on the panel that is docked to the bottom. It's circled in red on the image. Visually, I don't really care, but you can drag that bar up and create a blank space below the "Output" panel.

Anyone have any suggestions?

Thanks,
Jeff

Attachments
Docking Panels.png (279 views, 17.00 KB)
Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 1 days ago @ 1:54 AM
Posts: 3,054, Visits: 4,009
Hi Jeff,

Could you post the code that is related to the docking framework?
From the image is not getting clear where this resize bar comes from.

Best Regards,
Nevron Support Team



Jeff Proefrock
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 3, Visits: 1
Here is the relevant code that will reproduce the issue:

NDockingPanel pnlMain = new NDockingPanel();
pnlMain.Text = "Main";
pnlMain.PerformDock(_nDockManager.RootContainer.RootZone, DockStyle.Top);

NDockingPanel pnlOutput = new NDockingPanel();
pnlOutput.Text = "Output";
pnlOutput.PerformDock(pnlMain.ParentZone, DockStyle.Bottom);

for (int i = 1; i <= 3; i++)
{
NDockingPanel pnlSub = new NDockingPanel();
pnlSub.Text = string.Format("Sub {0}", i);
pnlSub.PerformDock(pnlMain.ParentZone, DockStyle.Fill);
}


I've also attached a small sample project that illustrates the issue.


Attachments
NevronDockingPanelTest.zip (269 views, 2.00 MB)
Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 1 days ago @ 1:54 AM
Posts: 3,054, Visits: 4,009
Hello Jeff,

Thanks for the example project.

This resize bar is displayed to separate the docking panels and the area where you can add a documents in their view.
To set the NDockManager to disable the ability to show documents you need to do the following:

_nDockManager.DocumentStyle.DocumentViewEnabled = false;

Best Regards,
Nevron Support Team



Jeff Proefrock
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 3, Visits: 1
That did it.

Thank you very much!



Similar Topics


Reading This Topic