Skip to content

Commit 37cfe4e

Browse files
committed
qml: Use ColumnLayout in application window
1 parent 5b00612 commit 37cfe4e

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

src/qml/pages/stub.qml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,19 @@ ApplicationWindow {
1717

1818
Component.onCompleted: nodeModel.startNodeInitializionThread();
1919

20-
Image {
21-
id: appLogo
22-
anchors.horizontalCenter: parent.horizontalCenter
23-
source: "image://images/app"
24-
sourceSize.width: 128
25-
sourceSize.height: 128
26-
}
27-
28-
BlockCounter {
29-
id: blockCounter
20+
ColumnLayout {
3021
anchors.centerIn: parent
31-
blockHeight: nodeModel.blockTipHeight
22+
spacing: 15
23+
width: 400
24+
Image {
25+
Layout.alignment: Qt.AlignCenter
26+
source: "image://images/app"
27+
sourceSize.width: 64
28+
sourceSize.height: 64
29+
}
30+
BlockCounter {
31+
Layout.alignment: Qt.AlignCenter
32+
blockHeight: nodeModel.blockTipHeight
33+
}
3234
}
3335
}

0 commit comments

Comments
 (0)