From 408edf4f7782457b763305b7a565df45452a8916 Mon Sep 17 00:00:00 2001 From: mahlemiut Date: Sun, 13 Dec 2015 23:33:05 +1300 Subject: [PATCH] Base the size of internal debugger window title bars on the font size. --- src/osd/modules/debugger/debugint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/modules/debugger/debugint.cpp b/src/osd/modules/debugger/debugint.cpp index 1f03d125a31..6e579dfb355 100644 --- a/src/osd/modules/debugger/debugint.cpp +++ b/src/osd/modules/debugger/debugint.cpp @@ -60,7 +60,7 @@ private: #define BORDER_XTHICKNESS 1 #define HSB_HEIGHT 20 #define VSB_WIDTH 20 -#define TITLE_HEIGHT 20 +#define TITLE_HEIGHT (debug_font_height + 3*BORDER_YTHICKNESS) enum {