C# Prevent resize of panel in splitter

I have a splitter, the top panel lists a set of results. The bottom panel will show more details about the selected row as a Header and the Details . I have therefore placed another splitter scDetails in the bottom panel. The two scDetails panels each contain a label (which I will bind to data) and the labels are docked to their panel. The top scDetails panel is meant to be a title.
The first splitter is docked to the form.
Now when I resize the form and/or drag the Main splitter the individual scDetails panels resize. I do not want the distance between the text in scDetails.Panel1 and scDetails.Panel2 to increase.  
Which properties should I be setting?
BradburtAsked:
Who is Participating?
 
BradburtConnect With a Mentor Author Commented:
I delete the second splitter and add the labels directly to the second panel, what a numpty.....
0
 
sanket_1985Commented:
This should be done in Form_Resize event. afaik, properties will not help.
0
 
BradburtAuthor Commented:
OK
0
 
BradburtAuthor Commented:
OK
0
 
BradburtAuthor Commented:
Did not give enough details!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.