Skip to main content
gamedev.net
🔒 Locked

windows forms control spacing...

Started by FreJa Oct 30, 2005 at 1:26 PM 1 replies 450+ views
Original Post
FreJa
FreJa
Hi, How can I obtain, in windows forms (.net), this (screen) spacing between the controls? like, between the mail panel on the left, and the inbox one right to it, theres a small spacing... and between those and the toolbar, theres another... is there any special propertie on controls that allows me to do this...? Thanks
"Through me the road to the city of desolation,Through me the road to sorrows diuturnal,Through me the road among the lost creation."
BeanDog
BeanDog
Yup, the form itself (and all containers, like panels) have a GridSize property that defaults to 8,8. Change it to 4,4 or 2,2 or something.



~BenDilts( void );
Nypyren
Nypyren
If you want to use what they're using in Outlook, use the "Splitter" control. It's kind of weird to use if you're not used to docking controls, but it's very effective once you do.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.