Qt 6.11 is out! See what's new in the release
blog
QML Liquid Layout
General and Desktop
2
Posts
2
Posters
953
Views
1
Watching
-
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
-
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.