> The main thing: don't make users write layout trees in code by hand! Some > declarative layout system is a must to grow out of toy demos. It doesn't have > to be a full-fledged GUI-designer (I'm not naive enough to wish for something > I used 20 years ago with Delphi). At least a DSL sprinkled with constraints > is good enough.
I agree completly! That is why I like QML. Tbh I don't think that there is anything wrong with using JS in a desktop app, as long as there is a GC. (although I have my reservations about writing directly to JS, an interpreter should handle that) So... a GUI designer which can deal with a file format.