Change View?
-
Hello,
How can i change view? new pages, QML
i try to this here:
Item { width: 200; height: 200 Loader { id: pageLoader } Button{ id: btn1 text: "ChangeView Page2" onClicked: pageLoader.source = "Page2.qml" } }But the View will overlap the MainView.
I have 2 files.
Main.qml and Page2.qmlThanks for your time

-
Maybe you could use a PageStack:
https://api-docs.ubports.com/sdk/apps/qml/Ubuntu.Components/PageStack.htmlYou can pile pages or clear it and push a single page (not recomended)
-
@CiberSheep Thanks, PageStack works fine

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login