fix #19
finally i found it! now the status bar size changes automatically
This commit is contained in:
parent
f31e6937b0
commit
0f6ffb1223
2 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ MainScreen::MainScreen(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainSc
|
|||
|
||||
//StatusBar
|
||||
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"));
|
||||
|
||||
//GPA Tab
|
||||
|
|
|
@ -665,9 +665,9 @@ font-size: 15px;
|
|||
</widget>
|
||||
<widget class="QStatusBar" name="statusBar">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
||||
<horstretch>200</horstretch>
|
||||
<verstretch>200</verstretch>
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
|
|
Loading…
Reference in a new issue