aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHorst31802016-05-06 14:18:21 +0200
committerHorst31802016-05-06 14:18:29 +0200
commite3463fecde0407d390156cf348e6c5368c6759ff (patch)
tree66af99e9389c8a07b96e54bb2fc79e4b70c93b4a /common
parent0ac411a90ea56ed6fb54256cb6b67b15f79ebba6 (diff)
downloadsolarc-theme-e3463fecde0407d390156cf348e6c5368c6759ff.tar.gz
solarc-theme-e3463fecde0407d390156cf348e6c5368c6759ff.tar.xz
solarc-theme-e3463fecde0407d390156cf348e6c5368c6759ff.zip
metacity: tweak button placement (fix #492)
Diffstat (limited to 'common')
-rw-r--r--common/metacity-1/metacity-theme-1-dark.xml9
-rw-r--r--common/metacity-1/metacity-theme-1.xml10
-rw-r--r--common/metacity-1/metacity-theme-2-dark.xml9
-rw-r--r--common/metacity-1/metacity-theme-2.xml9
-rw-r--r--common/metacity-1/metacity-theme-3.xml4
5 files changed, 19 insertions, 22 deletions
diff --git a/common/metacity-1/metacity-theme-1-dark.xml b/common/metacity-1/metacity-theme-1-dark.xml
index 36f69f7..5097716 100644
--- a/common/metacity-1/metacity-theme-1-dark.xml
+++ b/common/metacity-1/metacity-theme-1-dark.xml
@@ -44,13 +44,12 @@
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
- <distance name="left_titlebar_edge" value="5"/>
- <distance name="right_titlebar_edge" value="5"/>
+ <distance name="left_titlebar_edge" value="2"/>
+ <distance name="right_titlebar_edge" value="2"/>
<distance name="title_vertical_pad" value="3"/>
<border name="title_border" left="10" right="10" top="3" bottom="3"/>
- <border name="button_border" left="0" right="0" top="0" bottom="0"/>
- <distance name="button_width" value="30"/>
- <distance name="button_height" value="16"/>
+ <border name="button_border" left="3" right="3" top="0" bottom="0"/>
+ <aspect_ratio name="button" value="1.0" />
</frame_geometry>
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal">
diff --git a/common/metacity-1/metacity-theme-1.xml b/common/metacity-1/metacity-theme-1.xml
index 01f4262..71a2695 100644
--- a/common/metacity-1/metacity-theme-1.xml
+++ b/common/metacity-1/metacity-theme-1.xml
@@ -44,13 +44,13 @@
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
- <distance name="left_titlebar_edge" value="5"/>
- <distance name="right_titlebar_edge" value="5"/>
+ <distance name="left_titlebar_edge" value="2"/>
+ <distance name="right_titlebar_edge" value="2"/>
<distance name="title_vertical_pad" value="3"/>
<border name="title_border" left="10" right="10" top="3" bottom="3"/>
- <border name="button_border" left="0" right="0" top="0" bottom="0"/>
- <distance name="button_width" value="30"/>
- <distance name="button_height" value="16"/>
+ <border name="button_border" left="3" right="3" top="0" bottom="0"/>
+ <aspect_ratio name="button" value="1.0" />
+
</frame_geometry>
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal">
diff --git a/common/metacity-1/metacity-theme-2-dark.xml b/common/metacity-1/metacity-theme-2-dark.xml
index 36f69f7..5097716 100644
--- a/common/metacity-1/metacity-theme-2-dark.xml
+++ b/common/metacity-1/metacity-theme-2-dark.xml
@@ -44,13 +44,12 @@
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
- <distance name="left_titlebar_edge" value="5"/>
- <distance name="right_titlebar_edge" value="5"/>
+ <distance name="left_titlebar_edge" value="2"/>
+ <distance name="right_titlebar_edge" value="2"/>
<distance name="title_vertical_pad" value="3"/>
<border name="title_border" left="10" right="10" top="3" bottom="3"/>
- <border name="button_border" left="0" right="0" top="0" bottom="0"/>
- <distance name="button_width" value="30"/>
- <distance name="button_height" value="16"/>
+ <border name="button_border" left="3" right="3" top="0" bottom="0"/>
+ <aspect_ratio name="button" value="1.0" />
</frame_geometry>
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal">
diff --git a/common/metacity-1/metacity-theme-2.xml b/common/metacity-1/metacity-theme-2.xml
index 01f4262..9e94016 100644
--- a/common/metacity-1/metacity-theme-2.xml
+++ b/common/metacity-1/metacity-theme-2.xml
@@ -44,13 +44,12 @@
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
- <distance name="left_titlebar_edge" value="5"/>
- <distance name="right_titlebar_edge" value="5"/>
+ <distance name="left_titlebar_edge" value="2"/>
+ <distance name="right_titlebar_edge" value="2"/>
<distance name="title_vertical_pad" value="3"/>
<border name="title_border" left="10" right="10" top="3" bottom="3"/>
- <border name="button_border" left="0" right="0" top="0" bottom="0"/>
- <distance name="button_width" value="30"/>
- <distance name="button_height" value="16"/>
+ <border name="button_border" left="3" right="3" top="0" bottom="0"/>
+ <aspect_ratio name="button" value="1.0" />
</frame_geometry>
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal">
diff --git a/common/metacity-1/metacity-theme-3.xml b/common/metacity-1/metacity-theme-3.xml
index ad01884..6a0aeef 100644
--- a/common/metacity-1/metacity-theme-3.xml
+++ b/common/metacity-1/metacity-theme-3.xml
@@ -44,8 +44,8 @@
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
- <distance name="left_titlebar_edge" value="5"/>
- <distance name="right_titlebar_edge" value="5"/>
+ <distance name="left_titlebar_edge" value="2"/>
+ <distance name="right_titlebar_edge" value="2"/>
<distance name="title_vertical_pad" value="3"/>
<border name="title_border" left="10" right="10" top="3" bottom="3"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>