3 ms·
> On the other hand, the layout model of WPF is a lot easier than mastering html+css Thank you. I've never been able to figure out if web layout is as terrible
by joelfolksy 7y ago
> On the other hand, the layout model of WPF is a lot easier than mastering html+css
Thank you. I've never been able to figure out if web layout is as terrible as it seems, or if I'm just missing something.
Once you spend the 20 minutes to learn the WPF layout algorithm, you can reason about why every element is located where it is, down to the pixel. To get there with HTML/CSS, I feel like I would have to memorize and recall a huge list of ad-hoc rules, and their combinatorial interactions. Usually I just give up and accept the mysterious 3-pixel gaps that seem to crop up randomly, and I don't even attempt complex layouts.