Skip to content

Commit 2eace14

Browse files
committed
qml: fix width/height binding loop in Network Traffic page
1 parent 810fa55 commit 2eace14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/qml/pages/node/NetworkTraffic.qml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,16 @@ InformationPage {
2828
Rectangle {
2929
Layout.alignment: Qt.AlignHCenter
3030
color: Theme.color.neutral3
31-
width: childrenRect.width + 6
32-
height: childrenRect.height + 6
31+
width: scaleRow.implicitWidth + 6
32+
height: scaleRow.implicitHeight + 6
3333
radius: 3
3434

3535
Behavior on color {
3636
ColorAnimation { duration: 150 }
3737
}
3838

3939
RowLayout {
40+
id: scaleRow
4041
anchors.centerIn: parent
4142
anchors.margins: 3
4243
spacing: 5

0 commit comments

Comments
 (0)