KoBox splash UI fixes

This commit is contained in:
Nicolas Mailloux 2021-05-14 23:44:59 -04:00
parent 5af7dbf07f
commit fb6d6255e5

View file

@ -31,7 +31,13 @@ usbms_splash::usbms_splash(QWidget *parent) :
ui->label->setText("Launching KoBox subsystem");
ui->label->setStyleSheet("font-size: 14pt");
ui->label_3->setText("Please wait, this could take a while.");
ui->label_3->setStyleSheet("font-size: 11pt");
string_checkconfig_ro("/opt/inkbox_device");
if(checkconfig_str_val == "n905\n") {
ui->label_3->setStyleSheet("font-size: 11pt");
}
else {
ui->label_3->setStyleSheet("font-size: 10pt");
}
QPixmap pixmap(":/resources/kobox-icon.png");
QPixmap scaledPixmap = pixmap.scaled(stdIconWidth, stdIconHeight, Qt::KeepAspectRatio);