changed version info screen to use configured left border spacing
authorHolger Schemel <holger.schemel@virtion.de>
Fri, 1 Nov 2024 18:57:26 +0000 (19:57 +0100)
committerHolger Schemel <holger.schemel@virtion.de>
Fri, 1 Nov 2024 19:42:42 +0000 (20:42 +0100)
src/screens.c

index bfc27fc5a6f31787450942be8eef926896ba3b44..d5c8fbcc922d0fada0f0dbcde96708c94b115d02 100644 (file)
@@ -3870,9 +3870,9 @@ static void DrawInfoScreen_Version(void)
   int ystep_line = getMenuTextStep(spacing_line,  font_text);
   int ystart  = mSY - SY + MENU_SCREEN_INFO_YSTART + getHeadlineSpacing();
   int ybottom = mSY - SY + MENU_SCREEN_INFO_YBOTTOM;
-  int xstart1 = mSX - SX + 2 * xstep;
-  int xstart2 = mSX - SX + 18 * xstep;
-  int xstart3 = mSX - SX + 28 * xstep;
+  int xstart1 = mSX - SX + MENU_SCREEN_INFO_SPACE_LEFT;
+  int xstart2 = mSX - SX + MENU_SCREEN_INFO_SPACE_LEFT + 16 * xstep;
+  int xstart3 = mSX - SX + MENU_SCREEN_INFO_SPACE_LEFT + 27 * xstep;
   SDL_version sdl_version_compiled;
   const SDL_version *sdl_version_linked;
   int driver_name_len = 10;