• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 589
  • Last Modified:

Resize listview according to form size

I am trying to resize my two listview equally while I resize the form.. but only the bottom one is being re-sized. I am using an anchor on all sides..
for example from this form
to thisform2
1 Solution
Carl TawnSystems and Integration DeveloperCommented:
You're not going to be able to pull that off just by using Anchor. Instead add a SplitContainer to your form, switch its orientation to vertical and add your two listviews (one to each panel). You can then anchor the SplitContainer to all four sides of the form and have it scale correctly.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now