[maemo-developers] Standard widget spacing and padding?

From: Kuosmanen Tuomas (Nokia-M/Helsinki) Tuomas.Kuosmanen at nokia.com
Date: Wed Apr 11 18:38:23 EEST 2007
On Fri, 2007-04-06 at 15:11 +0200, ext Murray Cumming wrote:
> On Wed, 2007-03-28 at 18:11 +0200, Murray Cumming wrote:
> > I can't find anything in the various Maemo documents about the standard
> > spacing that Maemo applications should have between and around widgets.
> > For instance, for the GNOME HIG, this is usually 6 pixels between
> > widgets and 12 pixels padding around the window:
> > http://developer.gnome.org/projects/gup/hig/2.0/design-window.html
> >   
> > This seems like something that should be in the Maemo porting guide 
> > http://www.maemo.org/platform/docs/howtos/howto_porting_to_maemo_bora.html
> > as well as the UI specification:
> > http://www.maemo.org/community/hildon_ui.html
> 
> Anyone? I'm sure that Nokia has some kind of standard somewhere for
> this.

Heya! 

The "margin default" padding is 6 pixels, and if a bigger padding is
desired, either "margin double" (6x2 = 12px) or triple 
(6x3 = 18px) is used. If a smaller margin is needed, "margin half" (3px)
is there for you.

So basically using 12px paddings between widgets should be a good
starting point. Currently our theme adds this weird padding around the
window anyway, so I think apps should not use much padding around
themselves. I'll check this and the widget padding tomorrow when there
are more people in the office in the morning, and will correct it if I
am assuming wrong. 

Btw, I'll be happy to assist with layout of your application if you want
- poke me on irc (tigert on #maemo in freenode) or send email.

//Tuomas

-- 
A: No
Q: Should i quote this on the top?

More information about the maemo-developers mailing list