stretch label horizontally on a panel in C # [closed]

0

What properties do you use to stretch a label (the label in question has the text "shortcuts") in a panel?

I want it to occupy horizontally all the space on the left panel.

Program example: link

    
asked by anonymous 23.09.2015 / 09:22

1 answer

2

Assuming you want to switch by Design from Visual Studio , you can set the AutoSize Label to False and change the Dock property to Top , however this will cause Label to be pasted to the top edge of the panel too.

An alternative is just to change the AutoSize property to False and "stretch" the label until it is the size you need.

    
23.09.2015 / 13:42