Re: applets and focus indication

> > Regarding the original discussion: In my eyes it doesn't look very good,
> > if a applet takes all the size in the panel. So I think it would be ok,
> > if the panel tells the applets a smaller size, then it actually has.
> > However I think this should be not more than 2, max. 3 pixels on every
> > side (more shouldn't be neccessary to draw the focus indicator, or am I
> > wrong?)
> The large print themes currently set the focus indicator width to 3
> pixels, so allowing for an extra pixel on each side of that I guess
> about 5 (or maybe 7) pixels on each side would be the maximum that any
> GNOME theme would realistically need.  I'm not sure that would be an
> excuse for just hard-coding a 7-pixel gap around every applet though :)

The default focus padding is zero pixels, and the default line thickness
is one pixel.  So for the default case we are talking about only a "2
pixel gap".  For large-print themes the focus padding is still only "0"
so I think it's only a "4 pixel gap" in that case; I am assuming a
constant 1-pixel gap between the panel edge and the focus line.  The
"focus-padding" GtkStyle attribute refers to the number of pixels
between an object and an "exterior" focus line around it, thus the
"focus-padding" would probably be appropriate for use here.


> Cheeri,
> Calum.
> -- 
> CALUM BENSON, Usability Engineer       Sun Microsystems Ireland
> mailto:calum benson sun com            GNOME Desktop Group
>                      +353 1 819 9771
> Any opinions are personal and not necessarily those of Sun Microsystems
> --__--__--
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> End of desktop-devel-list Digest

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]