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
Joey Callisay - 07 Sep 2004 05:56 GMT
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
> Hello all,
>
[quoted text clipped - 11 lines]
>
> Matt
Herfried K. Wagner [MVP] - 07 Sep 2004 13:07 GMT
* "Matt" <matt@majecsoftware.com> scripsit:
> 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
[quoted text clipped - 5 lines]
> 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.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/
Matt - 08 Sep 2004 01:57 GMT
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
> * "Matt" <matt@majecsoftware.com> scripsit:
> > I'm having trouble getting all my labels to properly align on a form.
[quoted text clipped - 9 lines]
> Set the labels' 'FlatStyle' property to 'System' to archieve a better
> result.