|
|
|
@ -867,6 +867,9 @@ void MainWindow::adjustSizesAccordingToWrongLabel() {
@@ -867,6 +867,9 @@ void MainWindow::adjustSizesAccordingToWrongLabel() {
|
|
|
|
|
ui->verticalLayoutWidget_4->setGeometry(QRect(0, 0, 711, 531-dh)); |
|
|
|
|
ui->stackedWidget->setFixedHeight(531-dh); |
|
|
|
|
ui->settingsScrollArea->setFixedHeight(531-dh-settingsTitleLabelNominalHeight-ui->verticalLayout_4->spacing()); |
|
|
|
|
ui->settingsTitleLabel->setFixedHeight(settingsTitleLabelNominalHeight); |
|
|
|
|
ui->tunnelsScrollArea->setFixedHeight(531-dh-settingsTitleLabelNominalHeight-ui->horizontalLayout_42->geometry().height()-2*ui->verticalLayout_4->spacing()); |
|
|
|
|
ui->tunnelsTitleLabel->setFixedHeight(settingsTitleLabelNominalHeight); |
|
|
|
|
}else{ |
|
|
|
|
ui->verticalLayout_7->invalidate(); |
|
|
|
|
ui->wrongInputLabel->adjustSize(); |
|
|
|
@ -876,6 +879,9 @@ void MainWindow::adjustSizesAccordingToWrongLabel() {
@@ -876,6 +879,9 @@ void MainWindow::adjustSizesAccordingToWrongLabel() {
|
|
|
|
|
ui->verticalLayoutWidget_4->setGeometry(QRect(0, 0, 711, 531)); |
|
|
|
|
ui->stackedWidget->setFixedHeight(531); |
|
|
|
|
ui->settingsScrollArea->setFixedHeight(531-settingsTitleLabelNominalHeight-ui->verticalLayout_4->spacing()); |
|
|
|
|
ui->settingsTitleLabel->setFixedHeight(settingsTitleLabelNominalHeight); |
|
|
|
|
ui->tunnelsScrollArea->setFixedHeight(531-settingsTitleLabelNominalHeight-ui->horizontalLayout_42->geometry().height()-2*ui->verticalLayout_4->spacing()); |
|
|
|
|
ui->tunnelsTitleLabel->setFixedHeight(settingsTitleLabelNominalHeight); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|