diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | matchbox/theme-engines/mb-wm-theme.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2008-04-11 Ross Burton <ross@openedhand.com> + * matchbox/theme-engines/mb-wm-theme.c: + Instead of a fixed 2px padding before the text, use a fifth of the + decoration height. + +2008-04-11 Ross Burton <ross@openedhand.com> + * data/themes/Default/theme.xml: Make the default theme slightly more pretty. diff --git a/matchbox/theme-engines/mb-wm-theme.c b/matchbox/theme-engines/mb-wm-theme.c index d54e2cc..b775134 100644 --- a/matchbox/theme-engines/mb-wm-theme.c +++ b/matchbox/theme-engines/mb-wm-theme.c @@ -1846,7 +1846,7 @@ mb_wm_theme_simple_paint_decor (MBWMTheme *theme, MBWMDecor *decor) XftDrawStringUtf8(dd->xftdraw, &dd->clr, dd->font, - west_width + pack_start_x + 2, y, + west_width + pack_start_x + (h / 5), y, title, strlen (title)); } |