tag:blogger.com,1999:blog-4886301839106291376.post4255635729219953266..comments2023-09-23T03:36:30.513+10:00Comments on Things I Hate About Microsoft: Splitters and anchorsChristian Graushttp://www.blogger.com/profile/13444285493681626756noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4886301839106291376.post-91511483983376006792010-03-15T11:45:43.212+11:002010-03-15T11:45:43.212+11:00OK - thanks. So, I need to use another control in...OK - thanks. So, I need to use another control inside the splitter for the docking to work. Is there then any reason that that behaviour is not just the default inside a splitter ? When would I WANT the docking to not work ?Christian Graushttps://www.blogger.com/profile/13444285493681626756noreply@blogger.comtag:blogger.com,1999:blog-4886301839106291376.post-16689353749879688732010-03-11T08:13:35.805+11:002010-03-11T08:13:35.805+11:00As Tom said, use yet another container. Either a T...As Tom said, use yet another container. Either a TableLayoutPanel (for fixed layout), or another Splitter (for user-selectable layout).<br /><br />I don't use them often, but when I do they work as I expect them to. Most of the time, I write my own Resize handler and set Bounds myself.Unknownhttps://www.blogger.com/profile/15439506943204428598noreply@blogger.comtag:blogger.com,1999:blog-4886301839106291376.post-10584184405276297652010-03-10T20:29:23.256+11:002010-03-10T20:29:23.256+11:00Haven't tested this but it should work. (It...Haven't tested this but it should work. (It's what I almost always use when I want to divide space on a from evenly)<br /><br />Put a tablelayoutpanel inside your panel with the pictureboxes. Dock it to fill.<br />Alter the tablelayoutpanel to have only 2 columns (or rows depending on what you want).<br />Alter the columns (or rows) property's to have a size type of percent 50%.<br />Put your picture boxes inside the columns (or rows) (1 in each)<br />They now should automaticly adjust to be even in size.Unknownhttps://www.blogger.com/profile/07530030583434346830noreply@blogger.com