How to Rotate Screen in LVGL

Hello Guys,

I am using Lilygo T4S3, I am designing my GUI in EEZ, I want to rotate the screen by 90 degrees. Currently, half of the screen is out of the display, so I want to rotate it by 90 Degrees, to make it full display.

My display size is 600px x 450px

did you try

disp_drv.sw_rotate = 1;
lv_disp_set_rotation(disp, LV_DISP_ROT_90);