From b51e6bdaa44304fd84942bd261bc33778053430a Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Sat, 3 Aug 2002 17:02:23 +0000 Subject: [PATCH] Fixed some clipping issues with the Bright theme. --- ChangeLog | 6 ++++ src/themes/Bright/metacity-theme-1.xml | 48 +++++++------------------- 2 files changed, 19 insertions(+), 35 deletions(-) diff --git a/ChangeLog b/ChangeLog index 875536bba..6d106719a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-08-03 Gaute Lindkvist + + Corrected some issues with the Bright theme. Mainly + making sure the text does not clip, as well as increasing + the size of the menu icon. + 2002-08-01 Mark McLoughlin Implements support for _NET_WM_ALLOWED_ACTIONS. diff --git a/src/themes/Bright/metacity-theme-1.xml b/src/themes/Bright/metacity-theme-1.xml index f5ce08460..b5db5d44e 100644 --- a/src/themes/Bright/metacity-theme-1.xml +++ b/src/themes/Bright/metacity-theme-1.xml @@ -91,18 +91,16 @@ - - + + - - @@ -220,9 +218,9 @@ - + + x="0" y="1" width="width-SpacerWidth+3" height="height-2"/> + x="1" y="2" width="width-5" height="height-3"/> @@ -245,37 +243,17 @@ y2="height - (height-SpacerHeight)/2"/> - - - - <icon x="(3 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2" - y="(height-mini_icon_height) / 2" - width="mini_icon_width" height="mini_icon_height"/> -</draw_ops> - <draw_ops name="title_text_focused_no_icon"> - <clip x="2" y="2" width="width-SpacerWidth-1" height="height-5"/> + <clip x="3" y="2" width="width-SpacerWidth-2" height="height-4"/> <title color="gtk:fg[SELECTED]" - x="(3 `max` (width-title_width)) / 2" + x="(3 `max` (width-title_width)) / 2+2" y="((height - title_height) / 2) `max` 0"/> </draw_ops> -<draw_ops name="title_text_with_icon"> - <clip x="2" y="2" width="width-SpacerWidth-1" height="height-5"/> - <title color="gtk:fg[NORMAL]" - x="(3 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2 + mini_icon_width + IconTitleSpacing" - y="((height - title_height) / 2) `max` 0"/> - <icon x="(3 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2" - y="(height-mini_icon_height) / 2" - width="mini_icon_width" height="mini_icon_height"/> -</draw_ops> - <draw_ops name="title_text_no_icon"> - <clip x="2" y="2" width="width-SpacerWidth-1" height="height-5"/> + <clip x="3" y="2" width="width-SpacerWidth-2" height="height-4"/> <title color="gtk:fg[NORMAL]" - x="(3 `max` (width-title_width)) / 2" + x="(3 `max` (width-title_width)) / 2+2" y="((height - title_height) / 2) `max` 0"/> </draw_ops> @@ -284,7 +262,7 @@ </draw_ops> <draw_ops name="title_focused"> - <include name="title_gradient"/> + <include name="title_box"/> <include name="title_text_focused_no_icon"/> </draw_ops> @@ -294,7 +272,7 @@ </draw_ops> <draw_ops name="title_utility_focused"> - <include name="title_gradient"/> + <include name="title_box"/> <include name="title_spacer"/> <include name="title_text_focused_no_icon"/> </draw_ops>