Public bug reported:

Not sure if this is a bug or a feature but the Greybird metacity window
title is off-centre.

This is due to the following lines of code in
/usr/share/themes/Greybird/metacity-1/metacity-theme-1.xml

<!-- ::: TITLES ::: -->
<draw_ops name="title">
        <title color="shade/gtk:bg[NORMAL]/1.30" x="((width - title_width) / 2) 
-36 `max` 0" y="1 `max` ((height-title_height)/2)+1"/>
        <title color="shade/gtk:bg[NORMAL]/0.50" x="((width - title_width) / 2) 
-36 `max` 0" y="0 `max` ((height-title_height)/2)"/>
</draw_ops>

<draw_ops name="title_unfocused">
        <title color="shade/gtk:bg[NORMAL]/1.15" x="((width - title_width) / 2) 
-36 `max` 0" y="1 `max` ((height-title_height)/2)+1"/>
        <title color="shade/gtk:bg[NORMAL]/0.70" x="((width - title_width) / 2) 
-36 `max` 0" y="0 `max` ((height-title_height)/2)"/>
</draw_ops>

To centre the titles the "-36" should be changed to "-0".

This also exists upstream in the theme available from the shimmer
project's own website, so may be a design choice rather than a bug.

** Affects: shimmer-themes (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/982820

Title:
  Greybird metacity window title off-centre

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shimmer-themes/+bug/982820/+subscriptions

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

Reply via email to