[Bug 34428] Titlebar buttons should be wider

seguso maurizio.colucci at gmail.com
Sat Mar 11 10:34:45 UTC 2006


Public bug reported:
https://launchpad.net/malone/bugs/34428

Affects: ubuntu-artwork (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

Description:
Hi,

I noticed in the latest ubuntu-artwork, titlebar buttons (maximize,
close...) are a bit wider than tall. Like in Vista, though less
elongated.

I propose to make them much wider. This would enable the titlebar height
(and area) to be decreased, thus sparing screen space, while keeping the
same clickable area for the buttons.

I tested this and it works like a charm: edit /usr/share/themes/Human/metacity-1/metacity-theme-1.xml
and change "aspect_ratio" from 0.9 to 0.3 (in both places).

This works well for small titlebars, but not for thick titlebars. To
solve this, the button width could be made to depend on the titlebar
height. I.e. the button AREA should be a constant, and the width should
be computer with the formula

current_button_width = 
constant_area / current_titlebar_height




More information about the desktop-bugs mailing list