Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QML Liquid Layout
Qt 6.11 is out! See what's new in the release blog

QML Liquid Layout

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 953 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hey there im new in using QT and QML. So is there any way to use the GridLyout or a other layout like a CSS Gridlayout. I want to define colums and the behaviour so if the screen width ist 400 the colums stop floating and use the whole width and if the screenwidth ist bigger than 1200 px the colums are next to each. And i also want to set that the whole width are 12 colums and set for example to a rectangle width = 8 col and the nexte rectangle width = 4 col.

    Like http://thisisdallas.github.io/Simple-Grid/

    Best regards

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      I think "RowLayout":http://qt-project.org/doc/qt-5/qml-qtquick-layouts-rowlayout.html and "ColumnLayout":http://qt-project.org/doc/qt-5/qml-qtquick-layouts-columnlayout.html could be of use here.

      157

      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