summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-11-15 17:00:01 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-11-15 17:00:01 +0000
commit6fbe30c617158e40827a055f7c5c1527eb886672 (patch)
tree4b63afe2650fd3d046c10198638fae6e830e271b /amiga/gui.c
parent045b254c157025a177ae8b7db36462305b1c5c50 (diff)
downloadnetsurf-6fbe30c617158e40827a055f7c5c1527eb886672.tar.gz
netsurf-6fbe30c617158e40827a055f7c5c1527eb886672.tar.bz2
Improve the position of the status bar gadget at different font sizes
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c4
1 files 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,