dpi-dependent methods
This commit is contained in:
@@ -70,7 +70,7 @@ bool EvalSpinBox::eventFilter(QObject * o, QEvent * e) {
|
||||
|
||||
|
||||
void EvalSpinBox::resizeIcons() {
|
||||
int is = fontHeight();
|
||||
int is = fontHeight(this);
|
||||
int tm = (lineEdit()->height() - is + 1) / 2;
|
||||
QStyleOptionFrame so;
|
||||
so.initFrom(lineEdit());
|
||||
|
||||
Reference in New Issue
Block a user