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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support