diff options
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-x | amiga/gui.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index ffd9f6f72..0c6d5c286 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2117,9 +2117,8 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw, "scrollergclass", GA_ID, GID_HSCROLL, PGA_Freedom, FREEHORIZ, - ICA_TARGET, ICTARGET_IDCMP, // GA_Left, size1, - GA_RelRight, - size2 - sz, + GA_RelRight, 1 - size2 - sz, GA_Width, size2, GA_BottomBorder, TRUE, GA_RelVerify, TRUE, @@ -2134,11 +2133,10 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw, "frbuttonclass", GA_ID, GID_STATUS, GA_Left, scrn->WBorLeft, - GA_RelBottom, -((1 + sz - scrn->RastPort.TxHeight)/2), + GA_RelBottom, -((1 + sz + scrn->WBorBottom - scrn->RastPort.TxHeight)/2), GA_Width, size1, GA_DrawInfo, dri, GA_BottomBorder, TRUE, - GA_RelVerify, TRUE, GA_Next, gwin->shared->gadgets[GID_HSCROLL], TAG_DONE); |