VB.Net - Forms layout

~J~

~J~

Soldato
Joined
20 Oct 2003
Posts
7,558
Location
London
Anyone know a good tip on how to keep form items centred in a form?

Got a client who has a web-page where the controls are fixed sized, but centred within a DIV.

Trying to get the same affect in a windows form but can't seem to keep the controls at a fixed size, but central to the screen.

As an example, the web-based app has a div with a username label and a username textbox. These controls are next to each other, the DIV centred on the browser.

When I come to do the same on my windows form, I just can't get them in the centre of the form.

Any ideas?
 
Back
Top Bottom