Welcome! This short tutorial will show you how to re-size controls, when you are re-sizing your form. For example, after clicking Maximize button, a form will get much bigger. If buttons and controls inside stay with same size... it may look strange. In case you want to change it, there it is:
Changing Anchor property of controls
Select the controls that you want to be resizing with your form. They may be buttons, listviews and textboxes, but not necessarily every one of them. Now go to the Properties panel, and select Anchor property. After clicking on that gray thing you can add or remove right and bottom anchor. Please add them.
Now just resize your form and you will see the effect immediately. Here are example screenshots, after adding those anchors.
Thank you for comments
You can leave a comment any time. I hope this tutorial will be of some help for someone.![]()


LinkBack URL
About LinkBacks










Reply With Quote









Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum