I'm modifying another person's code, and I've run into a snag. There is a form with a treeview control. In the design, the treeview control only takes up half the form and there are a few buttons and text boxes on the form.

The problem arrises when I compile it. the treeview expands to the far edges of the form, covering every other object. I've even sized the treeview to 16x16 pixels, it still expands after it is compiled.

I'm sure this is easy to solve, but I'm new to this GUI thing.

Thanks!