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. Flow not working AVD
Qt 6.11 is out! See what's new in the release blog

Flow not working AVD

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 226 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.
  • D Offline
    D Offline
    DSpUz
    wrote last edited by
    #1

    Hello fellow QML Devs,

    i am following the QML Basics course and for some reason Flow positioner is not automatically rearranging images to fit them in
    the app window. Source code is same as in https://github.com/qt-learning/QML-Positioners-And-Layouts/blob/main/02-Positioners/Main.qml
    flownotworking.png

    Has anyone had this issue?

    Cheers,
    DSU

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AwesomeProgrammer
      wrote last edited by
      #2

      you didnt specify the width of the flow layout so it is using the width of its delegate Pls use anchors.fill:parent so your Flow can fill
      image.png

      1 Reply Last reply
      1
      • D Offline
        D Offline
        DSpUz
        wrote last edited by
        #3

        thanks, Awesome Programmer, i somehow missed that line.

        1 Reply Last reply
        0
        • D DSpUz has marked this topic as solved

        • Login

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