mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-16 00:12:43 +00:00
ui beautifying more
This commit is contained in:
parent
ec76381a0b
commit
21de4709ea
@ -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() {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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 @@
|
||||
<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…
Reference in New Issue
Block a user