Commit d655002a authored by Christoffer Ackelman's avatar Christoffer Ackelman Committed by Esteban Blanc

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

parent acab6277
...@@ -236,7 +236,7 @@ void fixed_put(QWidget* parent, QWidget* widget, int x, int y) ...@@ -236,7 +236,7 @@ void fixed_put(QWidget* parent, QWidget* widget, int x, int y)
void add_expanding(QStatusBar* statusbar, QWidget* widget) void add_expanding(QStatusBar* statusbar, QWidget* widget)
{ {
widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
statusbar->addWidget(widget); statusbar->addWidget(widget, 1);
} }
void add_expanding(QSplitter* splitter, QWidget* widget) 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