Commit 23bd7703 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.formeEditor: layout fix



Task-number: QTCREATORBUG-6286
Change-Id: I9b5b56f01d5b4a1b35df95026c4ec090cb7ab7c4
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 65ef5f7a
......@@ -65,7 +65,7 @@ ToolBox::ToolBox(QWidget *parentWidget)
verticalLayout->setMargin(0);
verticalLayout->setSpacing(0);
QHBoxLayout *horizontalLayout = new QHBoxLayout(this);
QHBoxLayout *horizontalLayout = new QHBoxLayout();
verticalLayout->addLayout(horizontalLayout);
verticalLayout->addWidget(frame);
horizontalLayout->setMargin(0);
......@@ -96,8 +96,6 @@ ToolBox::ToolBox(QWidget *parentWidget)
horizontalLayout->addWidget(m_leftToolBar);
horizontalLayout->addWidget(stretchToolbar);
horizontalLayout->addWidget(m_rightToolBar);
setLayout(verticalLayout);
}
void ToolBox::setLeftSideActions(const QList<QAction*> &actions)
......
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