KDE HIG - Help needed for Padding and Spacing

Ellen Reitmayr ellen.reitmayr at relevantive.de
Fri Sep 23 15:30:16 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,


I've started writing this chapter two months ago, and still I'm not
smarter and just can't finish it. I'm talking about

Padding and Spacing
http://test.openusability.org/wiki_ou/index.php/Visual_Design:Padding

as part of the Layout and Visual Design chapter
http://test.openusability.org/wiki_ou/index.php/Main_Page#Layout_and_Visual_Design


The problem is that I just don't know how to define the gaps between
interface elements. Currently, it's written in pixels which is not
useful in terms of accessibility as it is not scalable. However, Thomas
Zander said there is something like marginHint and spacingHint which
allows for using pixels while they scale with the font size. Amazing!

My question to you is if they can be used for all the distances
described in the chapter?
http://test.openusability.org/wiki_ou/index.php/Visual_Design:Padding#Placement_of_Controls

And more importantly: Is there an easy way to set it when designing an
interface? I'm thinking of KDE-wide spacer classes for 'Border gaps',
'Between groups gaps' etc?
(I don't want you to turn crazy because you have to define the gap of
each single interface element manually...)

Maybe someone would like to volunteer and think of a good solution to
that problem and write some implementation hints?


Greetings,
/el
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDNBF32mIgQiX+cvcRAksFAJ4gov/bsE1cA1fPm2nAhcz08oL0dQCfVdAx
W3Tv204EKSl+KkP0SHeAR2M=
=tR8A
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list