APP development on Windows and Linux at the same time

Hi,

I’m developing a Windows application with lv_port_pc_visual_studio and simultaneously on an embedded Linux machine with a 7-inch display using the fbdev driver. I have the same values ​​configured in both places: /* Horizontal and vertical resolution of the display. */
#define LV_HOR_RES_MAX 800
#define LV_VER_RES_MAX 480
But when I run the application on Windows, the layouts look fine, but then in Linux, they overlap each other.
Do you have any idea why this happens? What should I configure to get the same display?

Thanks

Hey,

Please send 2 screenshots about the both UIs.

Hi,

These are the differences between Windows and my display.
As you can see on the display, the layouts overlap.

Display
Windows_Simulator

Best regards.

I see, and I have an idea: please change this line to

theme->disp_size = DISP_SMALL;

Does it make any difference?

Hi,

I needed to set DISP_LARGE for it to work properly.
Thanks for the help.

Great! Thank you for the feedback. These automatic size adjustments in the default theme are really causing headaches sometimes.

We will figure out something for that.