Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.13.0
-
None
Description
This is the case for
onColumnSpacingChanged, onLayoutDirectionChanged and possibly more. The code for emitting seems to be simply missing.
import QtQuick 2.12 import QtQuick.Window 2.1 import QtQuick.Layouts 1.3Window { visible: true GridLayout { id: grid columns: 3 columnSpacing: 5 Text { text: "Three"; font.bold: true; } Text { text: "words"; color: "red" } Text { text: "in"; font.underline: true } Text { text: "a"; font.pixelSize: 20 } Text { text: "row"; font.strikeout: true } onColumnSpacingChanged: console.log("column spacing Changed") // No Output layoutDirection: Qt.RightToLeft onLayoutDirectionChanged: console.log("Layout Direction Changed") // No Output } Timer { interval: 500 running: true onTriggered: { grid.columnSpacing=20 grid.layoutDirection=Qt.LeftToRight } } }
Attachments
Issue Links
- duplicates
-
QTBUG-79359 QML GridLayout does not emit signal for LayoutDirection, columnSpacing, RowSpacing changes
- Closed