diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-11-15 17:00:01 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-11-15 17:00:01 +0000 |
commit | 6fbe30c617158e40827a055f7c5c1527eb886672 (patch) | |
tree | 4b63afe2650fd3d046c10198638fae6e830e271b /amiga | |
parent | 045b254c157025a177ae8b7db36462305b1c5c50 (diff) | |
download | netsurf-6fbe30c617158e40827a055f7c5c1527eb886672.tar.gz netsurf-6fbe30c617158e40827a055f7c5c1527eb886672.tar.bz2 |
Improve the position of the status bar gadget at different font sizes
Diffstat (limited to 'amiga')
-rw-r--r-- | amiga/gui.c | 4 |
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, |