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
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
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.