menu: use "MenuHeader" font height in separators with label

This commit is contained in:
Tomi Ollila 2024-10-26 17:14:27 +03:00 committed by Johan Malm
parent 6cb8f18fe1
commit ad2d24fb42
3 changed files with 8 additions and 3 deletions

View file

@ -1480,6 +1480,9 @@ post_processing(struct theme *theme)
theme->menu_item_height = font_height(&rc.font_menuitem)
+ 2 * theme->menu_item_padding_y;
theme->menu_header_height = font_height(&rc.font_menuheader)
+ 2 * theme->menu_item_padding_y;
theme->osd_window_switcher_item_height = font_height(&rc.font_osd)
+ 2 * theme->osd_window_switcher_item_padding_y
+ 2 * theme->osd_window_switcher_item_active_border_width;