Filipe Costa
Filipe Costa

Reputation: 664

VB.NET form resize

Good afternoon. I'm having a problem resizing a listview in a form.

In the normal position the listview is placed correctly as you can see in the image. normal

When i maximize the form, i get a huge space between the top controls and the listview.

enter image description here

How can i solve this situation, so the listview can expand and stay near the other controls?

Thank you.

Upvotes: 0

Views: 645

Answers (1)

SLaks
SLaks

Reputation: 888077

Set the ListView's Anchor property to all four sides.

Upvotes: 3

Related Questions