Browse Source

ui beautifying more

pull/952/head
hypnosis-i2p 7 years ago
parent
commit
21de4709ea
  1. 6
      qt/i2pd_qt/mainwindow.cpp
  2. 4
      qt/i2pd_qt/mainwindow.ui

6
qt/i2pd_qt/mainwindow.cpp

@ -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);
}
}

4
qt/i2pd_qt/mainwindow.ui

@ -627,7 +627,7 @@ @@ -627,7 +627,7 @@
</size>
</property>
<property name="currentIndex">
<number>1</number>
<number>2</number>
</property>
<widget class="QWidget" name="statusPage">
<property name="sizePolicy">
@ -759,7 +759,7 @@ @@ -759,7 +759,7 @@
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<item>
<widget class="QLabel" name="label_5">
<widget class="QLabel" name="tunnelsTitleLabel">
<property name="font">
<font>
<pointsize>15</pointsize>

Loading…
Cancel
Save