4 ms·
> That was a fixed non-resizable layout, showing static content. It eventually morphed into the Windows Forms builder which handled dynamic layouts quite well,
by flukus 6y ago
> That was a fixed non-resizable layout, showing static content.
It eventually morphed into the Windows Forms builder which handled dynamic layouts quite well, if a little different to most. Elements could be "anchored" to specific points of their container, so you button 10px off the bottom left would always be 10px off the bottom left, elements you wanted to grow to fill available space could be anchored on either side. All handled well by the visual designer.
Generally I prefer the gtk/qt method of just writing code, but the forms builder works really well too, both options are much better than the xml mess that is android and windows development these days.
- int_19h 6y agoThis actually predates Windows Forms - it's the model used by Delphi/VCL (and these days, Lazarus). However, anchors are nowhere near as flexible as layout managers, and there are many things that they can't handle. For example, when localizing UI, length of labels can change substantially, which requires the other controls that they're labeling to be moved around.