Label Alignment

  • Thread starter Thread starter Matt
  • Start date Start date
M

Matt

Hello all,

I'm having trouble getting all my labels to properly align on a form.
In VB6, I used to be able to align all the labels and they would display
aligned to the right/left as I expected them to.

However, in VS 2003 the labels don't seem to want to align properly. I
have the Text Align properties set the same and have made the labels all the
same size. The labels do their jobs (indicating what's what) but they look
sloppy. Am I missing something that will allow me to align these labels
correctly or is this another trade-off of WinForms?

Thanks in advance for any help you may provide.

Matt
 
TextAlignment is the alignment of the text displayed on the label controls.
You should select all the controls to be aligned (last to be clicked is the
one to be followed) use Format Menu, Align, then whatever position alignment
you want.
You can also have equal spacing among the said controls, etc. under the
Format menu
 
* "Matt said:
I'm having trouble getting all my labels to properly align on a form.
In VB6, I used to be able to align all the labels and they would display
aligned to the right/left as I expected them to.

However, in VS 2003 the labels don't seem to want to align properly. I
have the Text Align properties set the same and have made the labels all the
same size. The labels do their jobs (indicating what's what) but they look
sloppy. Am I missing something that will allow me to align these labels
correctly or is this another trade-off of WinForms?

Set the labels' 'FlatStyle' property to 'System' to archieve a better
result.
 
Thankyou both for your responses. As with most things I find the answer
about five minutes after I post the question to the group.

Thanks again.

Matt
 
Back
Top