Commit 97901302 authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

Fix resizing of actionbar

We no longer allow it to collapse below it's size hint.
I also reduced the bottom margin.
parent a0a7d5c9
......@@ -258,7 +258,7 @@ FancyActionBar::FancyActionBar(QWidget *parent)
m_actionsLayout = new QVBoxLayout;
QVBoxLayout *spacerLayout = new QVBoxLayout;
int sbh = ICore::instance()->statusBar()->height();
int sbh = 8;
......@@ -286,3 +286,9 @@ QLayout *FancyActionBar::actionsLayout() const
return m_actionsLayout;
QSize FancyActionBar::minimumSizeHint() const
return sizeHint();
......@@ -79,6 +79,7 @@ public:
void insertAction(int index, QAction *action);
void addProjectSelector(QAction *action);
QLayout *actionsLayout() const;
QSize minimumSizeHint() const;
QVBoxLayout *m_actionsLayout;
Supports Markdown
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