fixed hidpi scaling for the settings window
This commit is contained in:
@@ -14,9 +14,6 @@ SettingsDialogTab::SettingsDialogTab(SettingsDialog *_dialog, QString _labelText
|
||||
this->ui.labelText = _labelText;
|
||||
this->ui.image.load(imageFileName);
|
||||
|
||||
// XXX: DPI (not sure if this is auto-adjusted with custom DPI)
|
||||
this->setFixedHeight(32);
|
||||
|
||||
this->setCursor(QCursor(Qt::PointingHandCursor));
|
||||
|
||||
this->setStyleSheet("color: #FFF");
|
||||
@@ -28,6 +25,8 @@ void SettingsDialogTab::setSelected(bool _selected)
|
||||
return;
|
||||
}
|
||||
|
||||
// height: <checkbox-size>px;
|
||||
|
||||
this->selected = _selected;
|
||||
emit selectedChanged(selected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user