Re: Gnome panel hacking

Le mercredi 20 juin 2007, à 21:58 +0200, Gianni Moschini a écrit :
> And now each buttons has maximum allocated space. This also fix the
> issue of window title name changes.
> This is the result with only one window loaded:

A lot of people hate it when the buttons take all the space :-)

Your previous patch was fixing a size for the buttons, but it might not
be the best thing to do since it's often okay to have more buttons with
a smaller size (but not too small either, that's why we have the minimum
size for the buttons).

As it was already pointed out, there are suggestions in the bug to fix
this. Another simple approach would be something like :

 + have a reasonable maximum size for buttons
 + only change the size of the buttons when a new button is
   added/removed (in a not too stupid way: for example, do not resize
   the buttons if there's still room for more buttons)


Les gens heureux ne sont pas pressés.

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