From d3097849f1335fb28fc29ca49b0073cab0921c1f Mon Sep 17 00:00:00 2001 From: Nicolas Mailloux Date: Mon, 12 Jul 2021 00:11:04 -0400 Subject: [PATCH] Libra: make page turn buttons bigger --- reader.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reader.cpp b/reader.cpp index 5ac247c..057a96e 100644 --- a/reader.cpp +++ b/reader.cpp @@ -144,6 +144,13 @@ reader::reader(QWidget *parent) : this->setStyleSheet(stylesheetFile.readAll()); 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->homeBtn->setStyleSheet("font-size: 9pt; padding: 5px"); ui->aboutBtn->setStyleSheet("font-size: 9pt; padding: 5px");