Skip to content

Commit 96bfd55

Browse files
authored
Merge branch 'bitcoin-core:main' into wsl-install-guide
2 parents 4523a0f + 533a9fc commit 96bfd55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/qml/components/BlockClock.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ Item {
4242
id: dial
4343
anchors.horizontalCenter: root.horizontalCenter
4444
scale: Theme.blockclocksize
45-
width: Math.min((root.parentWidth * dial.scale), (root.parentHeight * dial.scale))
45+
width: {Math.max(Math.min(200, Math.min(root.parentWidth - 30, root.parentHeight - 30)),
46+
Math.min((root.parentWidth * dial.scale), (root.parentHeight * dial.scale)))}
4647
height: dial.width
4748
penWidth: dial.width / 50
4849
timeRatioList: chainModel.timeRatioList

0 commit comments

Comments
 (0)