From 3905872982478e4e0ae05f4ce114a8025a2389ee Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 7 May 2007 22:07:13 +0000 Subject: merge in r6153-6154 from the 3.4 branch --- render/theme.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'render/theme.c') diff --git a/render/theme.c b/render/theme.c index 28a682b5..a60fc7b1 100644 --- a/render/theme.c +++ b/render/theme.c @@ -1204,9 +1204,10 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name, MAX(theme->padding * 2, ut + ub)); */ theme->title_height = theme->label_height + theme->paddingy * 2; - /* this should match the above title_height given the same font size - for both. */ - theme->menu_title_height = theme->menu_title_font_height + + + RrMargins(theme->a_menu_title, &ul, &ut, &ur, &ub); + theme->menu_title_label_height = theme->menu_title_font_height+ut+ub; + theme->menu_title_height = theme->menu_title_label_height + theme->paddingy * 2; } theme->button_size = theme->label_height - 2; -- cgit v1.2.3