Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › FlickablePage cannot be loaded dynamically

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21779

    Ginzo Milani

    FlickablePage and I assume any navigation page is not able to load dynamically 🙁 Is there a work around?

    #21780

    Alex
    Felgo Team

    Hi,

    what do you mean with this exactly? Can you provide example code and an error description of what is not working?

    Cheers,
    Alex

    #21781

    Ginzo Milani

    I am using the following:

     

    Qt.createComponent("SelfDestroyingRect.qml");

    Everything inside of this snippet does not load dynamically but the rest of the QML does load, the column is populated with Texts + Grids but I removed them for simplicity sake

            FlickablePage {
              id: page
              title: "DNA Unlocked"
              anchors.horizontalCenter: parent.horizontalCenter
              visible: true
              //anchors.top: page.bottom
              //anchors.topMargin: 3
              // you can configure the internal flickable with the "flickable" property of the page
              flickable.contentWidth: parent.width
              flickable.contentHeight: dnaLists.height + 32 //give a little border room.
              scrollIndicator.visible: true
              backgroundColor: "#00000000"
              Column {
                    id: dnaLists
                    width: parent.width
                    spacing: 20
    
                }
            }

     

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.