If you are using the fbdev driver (which I assume you are on Raspberry Pi) it should be pulling the resolution directly from your display hardware. So I’m not sure exactly why there would be a difference between 7.5 and 8.1 here. @kisvegabor?
I feel your pain as I also still need to migrate a large project to v8. A while back I started a list of #defines to make the transition from v7 to v8 a bit more manageable.
If you are stuck with some errors then check out that list or add it to your #includes and there should be a lot less errors. Then once you have a working build, start to remove those temporary #defines one by one and fix each occurrence.
The resolution of the display. It’s handled/set in the driver. You can’t set it to any values as it comes from the display itself. However the driver needs to be aware of the actual resolution of the display. In case of fbdev it is handled as @embeddedt mentioned.
The resolution of the of the display registered for LVGL. I.e. you need to tell the display’s resolution to LVGL. It can be done in
disp_drv.hor_res = 1024;
disp_drv.ver_res = 600;
We are trying to lower breaking changes as much as possible. Sorry for the inconvenience. However, sometimes we need to take a deep breath and rework stuff to make them better.
Gabor was right, I hadnt changed the hor & ver res to:
disp_drv.hor_res = 1024;
disp_drv.ver_res = 600;
The project is a private one at the moment. I guess I could share it if you wanted? It’s in Github at the moment and I have no clue how. If you know how I can share it with you without making it public then please let me know.
I understand. I’m not having a go at you as the library is awesome. Sometimes it can just be a bit frustrating when it takes so long to fix all of the issues. I have no idea how many lines of code I have in my app but it must number in the 1000’s…