dpi-dependent methods

This commit is contained in:
2021-06-14 15:45:29 +03:00
parent b09390a460
commit 8646132928
10 changed files with 18 additions and 18 deletions

View File

@@ -120,5 +120,5 @@ void QCodeEditCompleter::keyPressEvent(QKeyEvent * e) {
void QCodeEditCompleter::adjust() {
int sz = sizeHint().width();
resize(sz, fontHeight() * 16);
resize(sz, fontHeight(this) * 16);
}