Skip to content

Is it just me?

Tuesday, 18 July 2006  |  el

... or do more people have problems to lay out dialogs properly with Designer?

I struggled for about half an hour with the automatic alignment functions, and all I got was this cluttered dialog layout:

[image:2180 width=700 class=showonplanet align=center]

Instead of the five vertical lines you can see on this screenshot, there should be exactly two: One that aligns all the comboboxes in a vertical axis, and one that alignes all the "Other" buttons. For the upper ("Text") part, I couldn't align the buttons because the font selection widget is a single element - Designer does not recognise that this widget is actually made up of the same elements as the color selection (which I added manually). For the upper ("Text") and lower ("Background") part, I could not find a way to equally align them because there were element in between (a separator and a label) that did not allow a grouping of the two groups.

Another problem was this:

[image:2181 width=300 class=showonplanet align=center]

The "Transparency" slider depends on the state of the checkbox. When it's off, it is disabled. What I secretly wished was that designer would realise this parent-child relation and automagically align the child with the parent's label...

There are solutions to these problems, but they require waaay too much manual intervention - I guess I'm not the only one who is too lazy to fix this as the above described layout problems are quite common. Manual intervention is annoying, and additionally prone to errors. I wonder if anybody is interested in a workshop at aKademy for KDE4, where we try to identify common problems and document easy solutions (e.g. predefined spacer sizes, ...)?