summaryrefslogtreecommitdiff
path: root/src/themes
diff options
context:
space:
mode:
authorJames M. Cape <jcape@ignore-your.tv>2002-06-06 13:56:16 +0000
committerJames M. Cape <jcape@src.gnome.org>2002-06-06 13:56:16 +0000
commit24c91c3a37a9b44a7fd9b13ff933af6d7b94cf76 (patch)
tree729cb9c1a6beb15ba3517a96e4addc06357e99dd /src/themes
parent89b00f25a780621f5cde670376f64db4c8dfa091 (diff)
downloadmetacity-24c91c3a37a9b44a7fd9b13ff933af6d7b94cf76.tar.gz
metacity-24c91c3a37a9b44a7fd9b13ff933af6d7b94cf76.tar.bz2
Increase the border size of the buttons so they aren't quite so huge on my
2002-06-06 James M. Cape <jcape@ignore-your.tv> * src/themes/Esco/metacity-theme-1.xml: Increase the border size of the buttons so they aren't quite so huge on my box. Also get a *little* closer to finally fixing the horizontal line behind the icon. It now works decently with common font sizes (in pixels).
Diffstat (limited to 'src/themes')
-rw-r--r--src/themes/Esco/metacity-theme-1.xml21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/themes/Esco/metacity-theme-1.xml b/src/themes/Esco/metacity-theme-1.xml
index d59ddaf..43ad441 100644
--- a/src/themes/Esco/metacity-theme-1.xml
+++ b/src/themes/Esco/metacity-theme-1.xml
@@ -15,10 +15,10 @@
<distance name="bottom_height" value="5"/>
<distance name="left_titlebar_edge" value="5"/>
<distance name="right_titlebar_edge" value="5"/>
- <aspect_ratio name="button" value="1.0"/>
+ <aspect_ratio name="button" value="1.0"/>
<distance name="title_vertical_pad" value="3"/>
<border name="title_border" left="3" right="3" top="4" bottom="3"/>
- <border name="button_border" left="0" right="1" top="4" bottom="3"/>
+ <border name="button_border" left="0" right="1" top="6" bottom="5"/>
</frame_geometry>
<!-- strip borders off the normal geometry -->
@@ -38,11 +38,10 @@
<distance name="bottom_height" value="4"/>
<distance name="left_titlebar_edge" value="3"/>
<distance name="right_titlebar_edge" value="3"/>
- <distance name="button_width" value="11"/>
- <distance name="button_height" value="11"/>
+ <aspect_ratio name="button" value="1.0"/>
<distance name="title_vertical_pad" value="1"/>
<border name="title_border" left="3" right="4" top="3" bottom="3"/>
- <border name="button_border" left="0" right="0" top="1" bottom="1"/>
+ <border name="button_border" left="0" right="0" top="2" bottom="2"/>
</frame_geometry>
<!-- define constants -->
@@ -194,7 +193,7 @@
y2="height - ButtonIPad - 2"/>
<line color="gtk:fg[NORMAL]" width="2"
- x1="ButtonIPad"
+ x1="ButtonIPad + 1"
y1="height - ButtonIPad - 2"
x2="width - ButtonIPad - 2"
y2="ButtonIPad + 1"/>
@@ -206,7 +205,7 @@
x2="width - ButtonIPad - 2"
y2="height - ButtonIPad - 2"/>
<line color="gtk:fg[INSENSITIVE]" width="2"
- x1="ButtonIPad"
+ x1="ButtonIPad + 1"
y1="height - ButtonIPad - 2"
x2="width - ButtonIPad - 2"
y2="ButtonIPad + 1"/>
@@ -325,10 +324,10 @@
width="title_width + IconTitleSpacing"
height="height - 4"/>
<line color="#ffffff" width="32"
- x1="width - title_width - (IconTitleSpacing * 1.5) + height + (IconTitleSpacing * 2) + (height / 3)"
- y1="0 - height"
- x2="width - title_width - (IconTitleSpacing * 1.5) - height + (height / 8)"
- y2="height + height"/>
+ x1="width - title_width + height + IconTitleSpacing + (height / 12)"
+ y1="0 - height + (height / 6)"
+ x2="width - title_width - height - IconTitleSpacing + (height / 12)"
+ y2="height * 2 - (height / 6)"/>
</draw_ops>
<draw_ops name="title_text_focused_with_icon">