Fix text corruption from unrounded pixel height

This commit is contained in:
Nicolas Werner 2021-03-13 23:52:46 +01:00
parent 7a356f3832
commit b82c11bd79
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ Popup {
id: roomTextInput
anchors.fill: parent
font.pixelSize: quickSwitcher.textHeight * 0.6
font.pixelSize: Math.ceil(quickSwitcher.textHeight * 0.6)
padding: textMargin
color: colors.text
@ -94,4 +94,4 @@ Popup {
timer.triggered.connect(cb);
timer.start();
}
}
}