Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make Panel Resizable For User

Tags:

c#

winforms

I have a [PANEL(1)] > [Dock=Fill], and another [PANEL(2)] inside set to the same height.

How do I make [PANEL(2)] resizable to the user, as they can resize only the width from both sides?

a busy cat

This is how the panel will look like when the user resize it to a (random area).

a busy cat

like image 613
Sam Oyl Avatar asked May 29 '13 15:05

Sam Oyl


1 Answers

Put a SplitContainer at the root, inside that another, and you'll have 3 panels to actually put your resizable controls in, with draggable splitters in between.

like image 129
Niels Keurentjes Avatar answered Oct 29 '22 04:10

Niels Keurentjes