Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.1
-
None
-
Apple clang version 15.0.0
macOS Sonoma 14.2.1
Qt 6.6.1
cmake version 3.27.7
ninja version 1.10.2
-
-
ac1c2e317 (dev), b90ba4b7b (6.7), 49e9a9a94 (6.6)
Description
https://doc.qt.io/qt-6/qml-qtquick-layouts-columnlayout.html#uniformCellSizes-prop
I switched to 6.6.1 because I wanted to use the `uniformCellSize` property of ColumnLayout. However, it does not work. QtCreator does suggest it to me in the context of the ColumnLayout, It also compiles but my application turns all white, and the debugging message appears: ""ColumnLayout.uniformCellSizes" is not available in QtQuick.Layouts 255.255."
The 255.255 in the end changes to whatever version I specify when I specify a version. So even when I do "import QtQuick.Layouts 6.6" the error will be "ColumnLayout.uniformCellSizes" is not available in QtQuick.Layouts 6.6."
import QtQuick import QtQuick.LayoutsWindow { width: 640 height: 480 visible: true title: qsTr("uniformCellSizes") ColumnLayout { anchors.fill: parent uniformCellSizes: true Rectangle { id: greenId width: 70 height: 70 color: "green" Layout.alignment: Qt.AlignCenter } Rectangle { id: blueId width: 100 height: 100 color: "blue" } Rectangle { id: redId width: 100 height: 100 color: "red" } } }
My CMakeLists.txt contains the statement `qt_standard_project_setup(REQUIRES 6.6)`
It also does not work for RowLayout.
The properties uniformCellWidths and uniformCellHeights seem to work for GridLayout.
Attachments
Issue Links
- is duplicated by
-
QTBUG-121129 "RowLayout.uniformCellSizes" is not available in QtQuick.Layouts 255.255.
- Closed
For Gerrit Dashboard: QTBUG-122024 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
540388,5 | Layouts: Make {Row,Column}Layout.uniformCellSizes visible to QML | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
541939,2 | Layouts: Make {Row,Column}Layout.uniformCellSizes visible to QML | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
542035,3 | Layouts: Make {Row,Column}Layout.uniformCellSizes visible to QML | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |