Bigger project resolution

What do you want to achieve?

I would like to increase my project resolution to 3840*1100

What have you tried so far?

setting the resolution to 3840 width, it autocorrects to 2048

Backstory

I ordered a 3840*1100 display from china as it fits exactly in my gauge cluster, now I want to design a digital dash for that resolution, but as stated Squareline won’t go above 2048. Is that a bug or a limitation?

Others

  • SquareLine Studio version:
    1.3.2
  • Operating system:
    Windows 10
  • Target hardware:
    x86, linux

Hi,

First of all, it’s really impressive! We have the 2048x2048 limitation because LVGL v8 supports max 2048x2048 images. It can render in any size, so it applies only to the image assets.

We added this limitations on resolution just to avoid confusion, however we could increase it e.g. to 4096 without any issues.

I’ll discuss it with our team.

1 Like

Hi,

Good news! It turned out that all you need to do is

  1. Close SquareLine.
  2. In your home or documents folder (dependeing on your OS) go to SquareLine/boards/Desktop/sim_sdl_eclipse_v1_0_2 (assuming you are using the Eclipse project)
  3. Open sim_sdl_eclipse.slb
  4. Modify width_max and height_max
  5. Start SquareLine and try adjusting the resolution again

Note that we haven’t tested SLS with this large resolution. It should work, but it’s not guranteed.

Hi! I did actually end up finding this on my own, for the Micropytjon environment. Sadly Squarline gave me an error saying the max resolution is 2048!