Keep the machine checklist label clear at high DPI

This commit is contained in:
2026-11-26 21:15:32 -06:00
parent 26796a1f17
commit 6a592ebe4c
3 changed files with 6 additions and 1 deletions

View File

@@ -639,6 +639,7 @@ def verify_machine_display(session, wait_for, results, captures):
assert hover.single.isVisible() == (len(wanted) == 1)
assert hover.simultaneous.isVisible() == (len(wanted) > 1)
assert hover.machine.text() == label
assert hover.machine.width() >= hover.machine.fontMetrics().horizontalAdvance(label) + 24
if name == "rain":
observed = history.latest(phantom, TOTAL, "ram.util")
assert observed is not None