Gwork: 0.3.0Dev |
I always feel like I learn better by looking at images rather than text. So here goes (this is in GWEN but it"s the same principle in GMod).
As you can see it makes laying out your controls set and forget. Previously you'd be setting the layout in something like PerformLayout - manually working out pixels, subtracting from the width of the parent. It gets messy.
Docking isn't appropriate for everything but it works for a lot of stuff. It also has the advantage that it automatically scales when stuff gets resized.