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.
This commit is contained in:
Chris Young 2015-11-16 19:01:13 +00:00
parent 5ad337a7b5
commit 479b8acce8

View File

@ -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,