Fix text corruption from unrounded pixel height
This commit is contained in:
parent
7a356f3832
commit
b82c11bd79
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user