3 ms·
So did Delphi handle dynamically resizing and positioning layouts? My impression is all the old highly productive gui languages (Delphi, Visual Basic, ...) used
by marktangotango 9y ago
So did Delphi handle dynamically resizing and positioning layouts? My impression is all the old highly productive gui languages (Delphi, Visual Basic, ...) used absolute positioning. Personally I'd rather have a more complex gui framework (css, swing, wpf) that handles positioning than to be forever cursed tweaking pixel width, height, x, y values.
- bitL 9y agoYes, if you set anchors on each component you wanted to be resizable (more specifically, all four sides could have had an independent anchor).
- flukus 9y agoSame with winforms. I'm not sure if it was added at some point or always there, if it was always there I wish I knew about it a lot sooner.
- Joeri 9y agoIt has anchor layout, flow layout, table layout, etc... I have typically found it easier to do the layout I wanted in delphi than CSS. The only annoying thing is that the visual designer has no undo, which you really miss when doing exploratory designs. CSS 2 really is terrible. There's a few things in CSS 3 that make it passable, but overall I consider it a failed layout system which needs more workarounds than it provides solutions.
- JustSomeNobody 9y ago>... than to be forever cursed tweaking pixel width, height, x, y values. Inevitably, this is what CSS work devolves to, though.[0] [0] Pixel twiddling