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. Floating rectangles
Qt 6.11 is out! See what's new in the release blog

Floating rectangles

Scheduled Pinned Locked Moved Solved QML and Qt Quick
floatrectanglefluid
3 Posts 2 Posters 896 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    Cocojambo
    wrote on last edited by
    #1

    Hi. Is it possible to align rectangles within another rectangle like at the picture below?
    Their width might be different (contains text) and their quantity is also variable. Maybe there is a simple solution without calculating text width and further positioning.

    Here is also live HTML example

    Screenshot (53).png

    1 Reply Last reply
    0
    • GrecKoG Offline
      GrecKoG Offline
      GrecKo
      Qt Champions 2018
      wrote on last edited by
      #2

      Flow

      C 1 Reply Last reply
      2
      • GrecKoG GrecKo

        Flow

        C Offline
        C Offline
        Cocojambo
        wrote on last edited by
        #3

        @GrecKo Perfect, thanks!

        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