mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 10:42:36 +03:00
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:
parent
5ad337a7b5
commit
479b8acce8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user