diff --git a/src/client/menu/menu.c b/src/client/menu/menu.c index 6dc6c76d..c1393773 100644 --- a/src/client/menu/menu.c +++ b/src/client/menu/menu.c @@ -3557,13 +3557,14 @@ DownloadOptions_MenuInit(void) "no", "yes", 0 }; int y = 0; + float scale = SCR_GetMenuScale(); s_downloadoptions_menu.x = (int)(viddef.width * 0.50f); s_downloadoptions_menu.nitems = 0; s_download_title.generic.type = MTYPE_SEPARATOR; s_download_title.generic.name = "Download Options"; - s_download_title.generic.x = 48; + s_download_title.generic.x = 48 * scale; s_download_title.generic.y = y; s_allow_download_box.generic.type = MTYPE_SPINCONTROL; diff --git a/src/client/menu/qmenu.c b/src/client/menu/qmenu.c index 89b3f2d8..d7cd100b 100644 --- a/src/client/menu/qmenu.c +++ b/src/client/menu/qmenu.c @@ -485,11 +485,10 @@ Menu_DrawStatusBar(const char *string) if (string) { int l = (int)strlen(string); - int maxcol = VID_WIDTH / 8; - int col = maxcol / 2 - l / 2; + float col = (VID_WIDTH / 2) - (l*8 / 2) * scale; Draw_Fill(0, VID_HEIGHT - 8 * scale, VID_WIDTH, 8 * scale, 4); - Menu_DrawString(col * 8, VID_HEIGHT / scale - 8, string); + Menu_DrawString(col, VID_HEIGHT / scale - 8, string); } else {