User | Kudos |
---|---|
11 | |
8 | |
3 | |
3 | |
2 |
.net and many other languages have an intuitive and simple way to allow you to define how a window behaves when you resize it: anchors. Anchors allow you to define the distance between an edge of a child control and the edge of a parent control regardless of the size of the window. The size of the control itself stays constent unless it violates the rules of the defined anchors in which case it changes sizes to meet those rules. For example a front panel with the following anchors:
Would be resized into:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.