From 6fbe30c617158e40827a055f7c5c1527eb886672 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 15 Nov 2015 17:00:01 +0000 Subject: Improve the position of the status bar gadget at different font sizes --- amiga/gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index 160795e45..4980e8c27 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -4217,7 +4217,7 @@ gui_window_create(struct browser_window *bw, GA_ID, GID_STATUS, GA_Left, scrn->WBorLeft + 2, #ifdef __amigaos4__ - GA_RelBottom, -((2 + height + scrn->WBorBottom - scrn->RastPort.TxHeight)/2), + GA_RelBottom, scrn->WBorBottom - (height/2), GA_BottomBorder, TRUE, #else GA_Top, g->shared->win->Height, @@ -4236,7 +4236,7 @@ gui_window_create(struct browser_window *bw, "frameiclass", IA_Recessed, TRUE, #endif - IA_Top, 2 - (scrn->RastPort.TxHeight), + IA_Top, - dri->dri_Font->tf_Baseline - 3, IA_Left, -4, IA_Height, 1 + height - scrn->WBorBottom, IA_Label, NULL, -- cgit v1.2.3