List Info

Thread: Standard widget spacing and padding?




Standard widget spacing and padding?
country flaguser name
Germany
2007-03-28 11:11:55
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/how
tos/howto_porting_to_maemo_bora.html
as well as the UI specification:
http://
www.maemo.org/community/hildon_ui.html

-- 
Murray Cumming
murraycmurrayc.com
www.murrayc.com
www.openismus.com

_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

Re: Standard widget spacing and padding?
country flaguser name
Germany
2007-04-06 08:11:33
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/how
tos/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.

-- 
Murray Cumming
murraycmurrayc.com
www.murrayc.com
www.openismus.com

_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

Re: Standard widget spacing and padding?
user name
2007-04-11 10:38:23
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/how
tos/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?
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

RE: Standard widget spacing and padding?
user name
2007-04-12 05:58:54
Hi all, 

>-----Original Message-----
>From: maemo-developers-bouncesmaemo.org 
>[mailto:maemo-developers-bouncesmaemo.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.
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

Re: Standard widget spacing and padding?
country flaguser name
Germany
2007-04-14 08:16:39
On Wed, 2007-04-11 at 18:38 +0300, Kuosmanen Tuomas
(Nokia-M/Helsinki)
wrote:
> 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/how
tos/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. 

Thanks, but is there any official documentation for this, or
is it just
an informal standard?

> 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.

-- 
Murray Cumming
murraycmurrayc.com
www.murrayc.com
www.openismus.com

_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )