3 ms·
Ok. Still miles away from what WPF proposes...
by keyle 15y ago
Ok. Still miles away from what WPF proposes...
- mullr 15y agoThe WPF system is hierarchical rather than constraint-based. I've done a variety of complex (I mean really complex) WPF layouts that need to scale, and they're complex and fiddly. In many cases I would rather have had a constraint system. When you try to align things to a layout grid in any way, for example, it becomes very awkward. But it's not clear to me constraint-based layout deals well with dynamic content; this may be a tradeoff.
- thesz 15y agoI was told that WPF could produce "swastika" layouts. Ie, something along the lines: aaaaa bb aaaaa bb bb dd bb dd bb dd dd ccccc dd ccccc This is as tabular as "grid" from Tk. You can resize any of "a", "b", "c" or "d" widgets and everything will resize accordingly. So I have an impression that WPF is constraint-based.
- fabjan 15y agoHow so?