Libra: make page turn buttons bigger

This commit is contained in:
Nicolas Mailloux 2021-07-12 00:11:04 -04:00
parent 218b64ef7f
commit d3097849f1

View file

@ -144,6 +144,13 @@ reader::reader(QWidget *parent) :
this->setStyleSheet(stylesheetFile.readAll()); this->setStyleSheet(stylesheetFile.readAll());
stylesheetFile.close(); stylesheetFile.close();
string_checkconfig_ro("/opt/inkbox_device");
if(checkconfig_str_val == "n873\n") {
ui->nextBtn->setStyleSheet("padding: 13.5px");
ui->previousBtn->setStyleSheet("padding: 13.5px");
ui->optionsBtn->setStyleSheet("padding: 13.5px");
ui->hideOptionsBtn->setStyleSheet("padding: 13.5px");
}
ui->sizeValueLabel->setStyleSheet("font-size: 9pt"); ui->sizeValueLabel->setStyleSheet("font-size: 9pt");
ui->homeBtn->setStyleSheet("font-size: 9pt; padding: 5px"); ui->homeBtn->setStyleSheet("font-size: 9pt; padding: 5px");
ui->aboutBtn->setStyleSheet("font-size: 9pt; padding: 5px"); ui->aboutBtn->setStyleSheet("font-size: 9pt; padding: 5px");