Situtation:
Define a flickable inside a page with some labels, buttons and any other components inside the flickable. Notice the anchor margins of the layout. Push a page and then pop it. Notice that the anchor margins have now changed.
You can find a sample qml project with all the code necessary in the attachment below.
Steps to reproduce:
1. Open the sample project in qtcreator
2. On running it, notice the gap between the rectangle and the tab header.
3. Press the button to push a page
4. In the new page, press the button to pop the page
5. Now notice that the gap between the rectangle and the tab header is non-existent.
It is almost like the first time you open the app, the rectangle is anchored to the tab header but when you pop it, it is now anchored to the top of the application instead of the tab header.
Situtation:
Define a flickable inside a page with some labels, buttons and any other components inside the flickable. Notice the anchor margins of the layout. Push a page and then pop it. Notice that the anchor margins have now changed.
You can find a sample qml project with all the code necessary in the attachment below.
Steps to reproduce:
1. Open the sample project in qtcreator
2. On running it, notice the gap between the rectangle and the tab header.
3. Press the button to push a page
4. In the new page, press the button to pop the page
5. Now notice that the gap between the rectangle and the tab header is non-existent.
It is almost like the first time you open the app, the rectangle is anchored to the tab header but when you pop it, it is now anchored to the top of the application instead of the tab header.