diff --git a/Platformio/hardware/windows_linux/lvgl_hal_windows_linux.cpp b/Platformio/hardware/windows_linux/lvgl_hal_windows_linux.cpp index f1b8b557..37064005 100644 --- a/Platformio/hardware/windows_linux/lvgl_hal_windows_linux.cpp +++ b/Platformio/hardware/windows_linux/lvgl_hal_windows_linux.cpp @@ -106,8 +106,8 @@ void init_lvgl_HAL() { // Arrange our windows nicely int x, y; SDL_GetWindowPosition(keypadWindow, &x, &y); - SDL_SetWindowPosition(mSimWindow, x - (SDL_HOR_RES * SDL_ZOOM) / 2 + 30, y); - SDL_SetWindowPosition(keypadWindow, x + (SDL_HOR_RES * SDL_ZOOM) / 2 - 30, y); + SDL_SetWindowPosition(mSimWindow, x - (SDL_HOR_RES * SDL_ZOOM) / 2 - 10, y); + SDL_SetWindowPosition(keypadWindow, x + (SDL_HOR_RES * SDL_ZOOM) / 2 + 10, y); /* Tick init. * You have to call 'lv_tick_inc()' in periodically to inform lvgl about how much time were elapsed