dpi-dependent methods
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user