Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docking with ToolStrip and Panel

Tags:

c#

winforms

In Form have ToolStrip and Panel. ToolStrip's Dock value is set to Top, Panel's to Fill. But ToolStrip intervens into Panel and hide first line of Panel. How to set, that toolstrip doesn't hide panel?

I don't want to use MenuStrip, which don't hide anything, but for some reasons i don't want to use it. Thanks for reply

like image 430
Crooker Avatar asked Jun 12 '13 15:06

Crooker


1 Answers

You have to change the order of the 2 control in Document Outline.

In order to do that go to :

View -> Other Windows -> Document Outline

or use the shortcut keys

ctrl + w, u

then reorder the two controls. If I'm right you should put your Panel first and your ToolStrip after.

like image 137
Rémi Avatar answered Nov 13 '22 11:11

Rémi