Linked by vermaden on Wed 21st May 2008 19:28 UTC
Graphics, User Interfaces How would I describe today's GUIs? A mess. -- A mess that grew as new features were needed, with lack of proper design, with a desire to keep backward compatibility, and with tools from the past trying to achieve future needs. I propose a new design philosophy for GUIs. We'll call it Vermaden's GUI. Note: This is the latest entry in our 2008 article contest.
Thread beginning with comment 315248
To read all comments associated with this story, please click here.
What about E17?
by C2H5OH on Thu 22nd May 2008 14:59 UTC
C2H5OH
Member since:
2008-05-22

For a different way of laying out GUI components, check Edje:

http://homepages.pathfinder.gr/kazanaki/contrib/ch04.html

And, besides, open source graphic toolkits/framework are constantly changing. Anyway, it is nice to see how people react to the oportunities the uncertainty of GTK+ 3 offer.

By the way, when it comes to true peformance, text formats cannot beat binary formats. Of course, binary formats (unless well designed) are less interoperable and less flexible.

Remember, XML is a specification to design structured document formats, not the solution to every single computational problem.

Reply Score: 1

RE: What about E17?
by rephorm on Sat 24th May 2008 21:03 in reply to "What about E17?"
rephorm Member since:
2006-07-20

The only part of this article that raises a legitimate issue is the lack of "border collapsing" between nested widgets (what vermaden calls "design issues" in Sonata).
i.e. the scrollbar widget has a 1px border, and the frame of a scrollable widget also has a 1px border. When the scrollbars are drawn inside the frame, one ends up with a 2px border. A similar issue happens when two widgets with borders are placed next to each other with no padding.

With stand-alone edje, one can get around this and make simple guis that are visually 'correct' (by carefully aligning parts). However, you have to reimplement the functionality of every widget you need. Move to an edje based widget library (e.g. EWL) and you will see the same issues reappear.

Its not an easy issue to solve. You need the theme to be able to tell the layout code to selectively apply negative margins in certain combinations...

So, although edje is nice, it doesn't really solve many *toolkit* layout issues.

Reply Parent Score: 1