From d137bda4547ec6ecc07dec4c32097428f022ed7c Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 6 Sep 2015 09:33:00 +0100 Subject: Move status bar gadget to the correct place on OS3 Still practically useless as it constantly overprints. --- amiga/gui.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/amiga/gui.c b/amiga/gui.c index fcf3fd8dc..b4f3b136d 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -4200,11 +4200,15 @@ gui_window_create(struct browser_window *bw, "frbuttonclass", /**\todo find appropriate class which works on OS3 */ GA_ID, GID_STATUS, GA_Left, scrn->WBorLeft + 2, +#ifdef __amigaos4__ GA_RelBottom, -((2 + height + scrn->WBorBottom - scrn->RastPort.TxHeight)/2), + GA_BottomBorder, TRUE, +#else + GA_Top, g->shared->win->Height, +#endif GA_Width, width, GA_Height, 1 + height - scrn->WBorBottom, GA_DrawInfo, dri, - GA_BottomBorder, TRUE, GA_ReadOnly, TRUE, GA_Disabled, TRUE, GA_Image, (struct Image *)NewObject( -- cgit v1.2.3