diff --git a/src/qml/components/BlockCounter.qml b/src/qml/components/BlockCounter.qml index e23ba7b72d..b7abacb6a4 100644 --- a/src/qml/components/BlockCounter.qml +++ b/src/qml/components/BlockCounter.qml @@ -16,6 +16,6 @@ Label { padding: 16 horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter - font.pixelSize: height / 3 + font.pixelSize: (parent.height / 15 + parent.width / 15) / 2 text: blockHeight } diff --git a/src/qml/pages/stub.qml b/src/qml/pages/stub.qml index ee30cb735f..ddd1ce6218 100644 --- a/src/qml/pages/stub.qml +++ b/src/qml/pages/stub.qml @@ -20,6 +20,7 @@ ApplicationWindow { id: blockCounter anchors.centerIn: parent height: parent.height / 3 + width: parent.width / 2.67 blockHeight: nodeModel.blockTipHeight } }