Commit 886d55ac authored by hjk's avatar hjk

ProjectExplorer: better distribution of space in kits option page

Change-Id: I63b4bf95d7ed2d67c60e251f63cb997c837d025e
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 0a1a22a5
......@@ -369,7 +369,7 @@ KitNode *KitModel::createNode(KitNode *parent, Kit *k)
{
KitNode *node = new KitNode(parent, k);
node->widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
m_parentLayout->addWidget(node->widget, 10);
m_parentLayout->addWidget(node->widget, 2);
connect(node->widget, SIGNAL(dirty()), this, SLOT(setDirty()));
return node;
}
......
......@@ -93,6 +93,7 @@ QWidget *KitOptionsPage::createPage(QWidget *parent)
QVBoxLayout *verticalLayout = new QVBoxLayout(m_configWidget);
verticalLayout->addLayout(horizontalLayout);
verticalLayout->setStretch(0, 1);
Q_ASSERT(!m_model);
m_model = new Internal::KitModel(verticalLayout);
......
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