Two List Boxes side by side and stretchable

Posted by Ilya Biryukov on Stack Overflow See other posts from Stack Overflow or by Ilya Biryukov
Published on 2010-06-14T15:25:34Z Indexed on 2010/06/14 15:32 UTC
Read the original article Hit count: 207

Filed under:
|
|

I have two list boxes like show below, side by side. They both have anchors on top, bottom, left and right.

When I stretch the window the left listbox grows over the right one. While I want the margin between them to stay and for both listboxes to expand evenly. Is there anyway to achieve this?

Thanks!

alt text

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms