From 479b8acce8cdc4009c83aaed2849fe48528d4603 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 16 Nov 2015 19:01:13 +0000 Subject: Don't position the statusbar based on font height The statusbar has a finite height because it is sitting in a window border which does not adjust with font size. --- amiga/gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga/gui.c') diff --git a/amiga/gui.c b/amiga/gui.c index edb52207c..31339fbbe 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -4240,9 +4240,9 @@ gui_window_create(struct browser_window *bw, "frameiclass", IA_Recessed, TRUE, #endif - IA_Top, - dri->dri_Font->tf_Baseline - 3, + IA_Top, (int)(- ceil((scrn->WBorBottom + height) / 2)), IA_Left, -4, - IA_Height, 1 + height - scrn->WBorBottom, + IA_Height, 2 + height - scrn->WBorBottom, IA_Label, NULL, IA_InBorder, TRUE, IA_Screen, scrn, -- cgit v1.2.3