The page object is offset

I created a Page object and several child objects. The last two objects are positioned out of the background.When I use lv_page_scroll_hor function to turn the page, the two chid objects are displayed normally.But when I turn back the page,the position of all chid objects are offset to the right.I don’t know the reason.

Anyone here?

Why no one reply to me :frowning_face:

I am not sure about a solution; I can ask @kisvegabor if he has any ideas. Please keep in mind that this forum runs on a largely volunteer basis.


1 Like

Please fill the template to provide enough information to investigate your issue.

> ## Important: posts that do not use this template will be ignored or closed.
> ## Before posting
> - Get familiar with [Markdown]( to format and structure your post
> - Be sure to update [lvgl]( from the latest version from the `master` branch.
> - Be sure you have checked the relevant part of the [documentation]( **We will not respond in detail to posts where you haven't read the relevant documentation.**
> - If applicable use the [Simulator]( to eliminate hardware related issues.
>  *Delete this section if you read and applied the mentioned points.*
## Description

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

###  What do you want to achieve?

### What have you tried so far?

## Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:
/*You code here*/