fix #19
finally i found it! now the status bar size changes automatically
This commit is contained in:
parent
f31e6937b0
commit
0f6ffb1223
|
@ -17,7 +17,7 @@ MainScreen::MainScreen(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainSc
|
||||||
|
|
||||||
//StatusBar
|
//StatusBar
|
||||||
ui->statusBar->setStyleSheet("QStatusBar::item { border: 0px solid black };");
|
ui->statusBar->setStyleSheet("QStatusBar::item { border: 0px solid black };");
|
||||||
ui->statusBar->setMaximumSize(this->geometry().width(),STATUS_ICON_HEIGH);
|
ui->statusBar->setFixedHeight(STATUS_ICON_HEIGH);
|
||||||
ui->statusBar->showMessage(tr("Ready"));
|
ui->statusBar->showMessage(tr("Ready"));
|
||||||
|
|
||||||
//GPA Tab
|
//GPA Tab
|
||||||
|
|
|
@ -665,9 +665,9 @@ font-size: 15px;
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QStatusBar" name="statusBar">
|
<widget class="QStatusBar" name="statusBar">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||||
<horstretch>200</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>200</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
|
|
Loading…
Reference in a new issue