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