summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-11-16 19:01:13 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-11-16 19:01:13 +0000
commit479b8acce8cdc4009c83aaed2849fe48528d4603 (patch)
tree976a7310fa35fa4c3914d8ae211b56f24a2e75f5
parent5ad337a7b5b4793dfebc8a4d333f8995f6c8877b (diff)
downloadnetsurf-479b8acce8cdc4009c83aaed2849fe48528d4603.tar.gz
netsurf-479b8acce8cdc4009c83aaed2849fe48528d4603.tar.bz2
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.
-rw-r--r--amiga/gui.c4
1 files changed, 2 insertions, 2 deletions
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,