Skip to content

Commit

Permalink
metacity: tweak button placement (fix horst3180#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
horst3180 committed May 6, 2016
1 parent 0ac411a commit e3463fe
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 22 deletions.
9 changes: 4 additions & 5 deletions common/metacity-1/metacity-theme-1-dark.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
10 changes: 5 additions & 5 deletions common/metacity-1/metacity-theme-1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
9 changes: 4 additions & 5 deletions common/metacity-1/metacity-theme-2-dark.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
9 changes: 4 additions & 5 deletions common/metacity-1/metacity-theme-2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 2 additions & 2 deletions common/metacity-1/metacity-theme-3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down

0 comments on commit e3463fe

Please sign in to comment.