[Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

Christian Lohmaier lohmaier+libreoffice at googlemail.com
Wed Jan 5 10:40:27 PST 2011


Hi Christoph, *,

On Wed, Jan 5, 2011 at 7:18 PM, Christoph Noack <christoph at dogmatux.com> wrote:
> [...]
> Mmh, I'm unsure how much it helps to compare the different applications.
>      * gedit is a native Gnome application and respects their desktop
>        guidelines. --> 24x24 px toolbar icons, text below (always)

Well - not always. It respects gnome's theme settings which in turn
style GTK accordingly. So when you untick "show labels", you won't get
them. Similarily when you choose a different theme that defines a
different icon size, you'll get a different icon size. (same when
setting it in your ~/.gtkrc-2.0 manually)

I'd freak out if I had to see the labels all over the place :-)

But as 16x16 is the default size for icons in menus themselves, this
size is covered by the important themes as well (with no scaling
needed).

> Moreover, one of our main problems is, that we do offer too many toolbar
> elements per default ... thus we have to omit the labels and "hitting"
> the buttons gets harder (due to their small size).

I disagree
Hitting a button that is still 16x16 is not "hard" (on 1680x1050, even
less so on smaller resolutions) unless you're disabled in some way,
but in that case you probably use a bigger theme anyway.

> Here is some more information ...
>
> Platform Differences (scroll a bit down, please)
> http://wiki.services.openoffice.org/wiki/Platform_UI_Differences#Differences
>
> How Toolbars and Labels are Used within Gnome
> http://library.gnome.org/devel/hig-book/stable/toolbars-labels-tooltips.html.en

Note that it is always prefixed with "If your toolbar is configure to
show labels ..."
So the "always" from above is not really true.

For icons themselves, also see
http://library.gnome.org/devel/hig-book/stable/icons-types.html

ciao
Christitan


More information about the LibreOffice mailing list