Improve the position of the status bar gadget at different font sizes

This commit is contained in:
Chris Young 2015-11-15 17:00:01 +00:00
parent 045b254c15
commit 6fbe30c617
1 changed files with 2 additions and 2 deletions

View File

@ -4217,7 +4217,7 @@ gui_window_create(struct browser_window *bw,
GA_ID, GID_STATUS, GA_ID, GID_STATUS,
GA_Left, scrn->WBorLeft + 2, GA_Left, scrn->WBorLeft + 2,
#ifdef __amigaos4__ #ifdef __amigaos4__
GA_RelBottom, -((2 + height + scrn->WBorBottom - scrn->RastPort.TxHeight)/2), GA_RelBottom, scrn->WBorBottom - (height/2),
GA_BottomBorder, TRUE, GA_BottomBorder, TRUE,
#else #else
GA_Top, g->shared->win->Height, GA_Top, g->shared->win->Height,
@ -4236,7 +4236,7 @@ gui_window_create(struct browser_window *bw,
"frameiclass", "frameiclass",
IA_Recessed, TRUE, IA_Recessed, TRUE,
#endif #endif
IA_Top, 2 - (scrn->RastPort.TxHeight), IA_Top, - dri->dri_Font->tf_Baseline - 3,
IA_Left, -4, IA_Left, -4,
IA_Height, 1 + height - scrn->WBorBottom, IA_Height, 1 + height - scrn->WBorBottom,
IA_Label, NULL, IA_Label, NULL,