Re: Panel resizing

2007-11-18 Thread Matthew Paul Thomas

On Nov 18, 2007, at 9:36 PM, Vincent Untz wrote:

...
Even if the icons did use the themes correctly, that wouldn't work 
well for panel sizes such as 30px, 31px, and 41px to 47px inclusive, 
just as it doesn't work well now. With a panel size that was 
specified in points and scaling itself based on the screen 
resolution, you might

easily end up in those pixel ranges and not know why the panel looked
bad.


We never scale icons in the panel. For a panel with a size between 24px
and 31px, we use the 24px with some padding around it. For 32 to 47, we
use the 32px icon with some padding, etc.
...


Right, and that's why it doesn't look so good. The amount of padding 
differs widely depending on the pixel size, so some sizes are bound to 
look out of proportion. Conversely, if the icons were scaled, they'd 
look blotchy or blurry in outline-heavy icon styles such as Gnome and 
Human.


Cheers
--
Matthew Paul Thomas
http://mpt.net.nz/


PGP.sig
Description: This is a digitally signed message part
-- 
ubuntu-desktop mailing list
ubuntu-desktop@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-desktop


Re: Panel resizing

2007-11-18 Thread Jan Claeys
Op zondag 18-11-2007 om 09:36 uur [tijdzone +0100], schreef Vincent
Untz:
> We never scale icons in the panel. For a panel with a size between
> 24px and 31px, we use the 24px with some padding around it. For 32 to
> 47, we use the 32px icon with some padding, etc.

Is that also true for .svg icons?


-- 
Jan Claeys


-- 
ubuntu-desktop mailing list
ubuntu-desktop@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-desktop


Re: DisplayConfigGtk

2007-11-18 Thread Jan Claeys
Op donderdag 15-11-2007 om 12:57 uur [tijdzone +1300], schreef Matthew
Paul Thomas:
> That said, after reading this thread I don't understand the use case
> for applying settings only for the current session anyway. I suggest
> addressing that question first, as it will help you compose the rest
> of the design.

Hm, I can see a possible use case for that when (re)configuring a system
for use with an LCD projector or similar.  Most of these only work with
800x600, 1024x768 and/or 1280x1024, while a very large number of laptops
are sold with 1280x800 screens these days.


-- 
Jan Claeys


-- 
ubuntu-desktop mailing list
ubuntu-desktop@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-desktop


Re: Panel resizing

2007-11-18 Thread Vincent Untz
On jeu, 2007-11-15 at 21:42 -0800, Ted Gould wrote:
> Because all of the icons sizes are SVG, we can scale them within
> specific ranges and it's like that they'll look pretty good, most users
> wouldn't notice.

The "source" is (generally) SVG, but the installed file is a PNG (except
for the "scalable" size). Switching to install SVG icons for all sizes
might make sense, but again, I know nothing about how to make something
look good ;-)

Vincent

-- 
Les gens heureux ne sont pas pressés.


-- 
ubuntu-desktop mailing list
ubuntu-desktop@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-desktop


Re: Panel resizing

2007-11-18 Thread Vincent Untz
Hi,

Just some technical background... (I don't know what's the best way to
solve all this and I'm open to suggestions)

On ven, 2007-11-16 at 18:07 +1300, Matthew Paul Thomas wrote:
> On Nov 16, 2007, at 4:29 PM, Ted Gould wrote:
> > As long as the icons on the dock use the themes correctly this 
> > shouldn't be a big deal.
> > ...
> 
> Unfortunately they don't, as you can see by playing with the "Panel 
> Properties" window in Ubuntu 7.10. The most egregious example is the 
> Ubuntu icon itself: despite the presence of 
> /usr/share/icons/Human/scalable/places/distributor-logo.svg, the Ubuntu 
> icon in the "Main Menu" applet doesn't scale beyond 48px, and the 
> Ubuntu icon in the default "Menu Bar" applet doesn't scale at all. (The 
> latter might be constrained by the non-resizing "Applications" text; I 
> think that's an example of basic aesthetic incompatibility between text 
> menus and a manually-resizable panel.)

IIRC, the reason icons are not scaled beyond 48px was that they were
taking so much place after that size that it doesn't make sense. Now
that we have bigger & wider screens, it might make sense again

(the menu bar icon is a "different" issue, since the size is enforced by
the fact that it's a real GtkMenuBar widget)

> Even if the icons did use the themes correctly, that wouldn't work well 
> for panel sizes such as 30px, 31px, and 41px to 47px inclusive, just as 
> it doesn't work well now. With a panel size that was specified in 
> points and scaling itself based on the screen resolution, you might 
> easily end up in those pixel ranges and not know why the panel looked 
> bad.

We never scale icons in the panel. For a panel with a size between 24px
and 31px, we use the 24px with some padding around it. For 32 to 47, we
use the 32px icon with some padding, etc.

Vincent

-- 
Les gens heureux ne sont pas pressés.


-- 
ubuntu-desktop mailing list
ubuntu-desktop@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-desktop