Set the page size while scroll is enable

Description

I am trying to create a page and add some objects ( create a chat screen), I need to set the page size to a specific size . If I disable the vertical and horizontal fit, I am not able to scroll among the objects and can’t see all the existing objects. If I enable auto fit option, then page will be as big as the LCD screen while I have other objects in the screen and this causes the objects inside the page goes goes behind of the other objects in the screen . Any help is highly appreciated.

What MCU/Processor/Board and compiler are you using?

K210

What do you want to achieve?

Create a chat screen with a specific height and width.

What have you tried so far?

I created a container with a specific size and made it parent of the page

Code to reproduce

Screenshot and/or video

IMG_7805

  1. You did not provide a code sample.
  2. Setting the size of the page object itself doesn’t work (after you disable autofit, lv_obj_set_size(page, width, height)?

Hi, I found the issue and resolved it thanks.