Slightly wider UI by default

This commit is contained in:
Chris Esposito 2019-04-26 13:11:46 +10:00
parent d341bfa1ce
commit 3245f1b242
2 changed files with 5 additions and 5 deletions

View File

@ -217,7 +217,7 @@ MainWindow::MainWindow(QWidget *parent) :
ui->realTimeButton->setVisible(false);
if ((QApplication::desktop()->availableGeometry().width() < 1360) || (QApplication::desktop()->geometry().height() < 800))
if ((QApplication::desktop()->availableGeometry().width() < 1520) || (QApplication::desktop()->geometry().height() < 800))
{
qDebug() << "Low resolution detected:" << QApplication::desktop()->availableGeometry().width() << "x" << QApplication::desktop()->availableGeometry().height();
this->setMinimumSize(800, 600);
@ -225,8 +225,8 @@ MainWindow::MainWindow(QWidget *parent) :
}
else
{
this->setMinimumSize(1360, 800);
this->setGeometry(64, 64, 1360, 800);
this->setMinimumSize(1520, 800);
this->setGeometry(64, 64, 1520, 800);
}
connect(ui->offsetSpinBox_CH1, SIGNAL(valueChanged(double)), ui->controller_iso, SLOT(offsetChanged_CH1(double)));

View File

@ -1021,7 +1021,7 @@
<item row="3" column="0">
<widget class="QLabel" name="amplitudeLabel_CH1">
<property name="text">
<string>Amplitude (Peak-Peak)</string>
<string>Amplitude</string>
</property>
</widget>
</item>
@ -1111,7 +1111,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>Amplitude (Peak-Peak)</string>
<string>Amplitude</string>
</property>
</widget>
</item>