Commit db528a1c authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Made command entry in statusbar expand to fill width of parent.

parent 003099a0
......@@ -236,7 +236,7 @@ void fixed_put(QWidget* parent, QWidget* widget, int x, int y)
void add_expanding(QStatusBar* statusbar, QWidget* widget)
{
widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
statusbar->addWidget(widget);
statusbar->addWidget(widget, 1);
}
void add_expanding(QSplitter* splitter, QWidget* widget)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment