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!


OverviewFelgo 2 Support (Qt 5) › Horizontal AppListView?

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


    is there a way to implement a Horizontal List View?  I need to create a list, but the designer want it horizontal, like a carousel?



    Felgo Team

    You can create a horizontal ListView like this:

    import Felgo 3.0
    import QtQuick 2.0
    App {  
      NavigationStack {
        Page {
          title: "Horizontal List"
          AppListView {
            anchors.fill: parent
            orientation: AppListView.Horizontal
            model: 10
            delegate: Rectangle {
              border.color: "grey"
              border.width: dp(1)
              width: dp(50)
              height: parent.height
              AppText {
                anchors.centerIn: parent
                text: "#"+index

    Alternatively, you can also have a look at the PathView, which allows move items along a path:

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

RSS feed for this thread

You must be logged in to reply to this topic.