Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How can I swipe left for flickable, the way its set right now it goes horizontally both ways

How can I swipe left for flickable, the way its set right now it goes horizontally both ways

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 341 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    firefoxOnly
    wrote on last edited by
    #1
        Flickable {
            width: 320
            height: 60
            contentWidth: methodNameContainer.width 
            contentHeight: methodNameContainer.height
    
            Rectangle {
                id:methodNameContainer
                width: 270
                height: parent.height
    
            }
    
    1 Reply Last reply
    0
    • F Offline
      F Offline
      firefoxOnly
      wrote on last edited by firefoxOnly
      #3
      This post is deleted!
      1 Reply Last reply
      0
      • Pradeep P NP Offline
        Pradeep P NP Offline
        Pradeep P N
        wrote on last edited by
        #2

        Hi @firefoxOnly

        The contentWidth is the problem from your code sample.
        Increasing it can solve your problem.

        All the best.

        Pradeep Nimbalkar.
        Upvote the answer(s) that helped you to solve the issue...
        Keep code clean.

        1 Reply Last reply
        2
        • F Offline
          F Offline
          firefoxOnly
          wrote on last edited by firefoxOnly
          #3
          This post is deleted!
          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved