[maemo-developers] Standard widget spacing and padding?

From: Dirk-Jan.Binnema at nokia.com Dirk-Jan.Binnema at nokia.com
Date: Thu Apr 12 13:58:54 EEST 2007
Hi all, 

>-----Original Message-----
>From: maemo-developers-bounces at maemo.org 
>[mailto:maemo-developers-bounces at maemo.org] On Behalf Of ext 
>Murray Cumming
>Sent: Friday, April 06, 2007 16:12
>To: maemo-developers
>Subject: Re: Standard widget spacing and padding?
>
>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.

When asked, I got the following, which should be ok as a rule of thumb.

logical margins:
MARGIN_DEFAULT 6 px Typically between a text element and a graphic 
MARGIN_DOUBLE 12 px Typically between two text elements 
MARGIN_TRIPLE 18 px Typically between larger areas 
MARGIN_HALF    3 px Used in special occasions with limited space
available

Best wishes,
Dirk.

More information about the maemo-developers mailing list