Commit 9b5afad2 authored by hjk's avatar hjk

projectexplorer: improve spacing in profile selection dialog

Change-Id: I9f6719618749b57cdfb68457e9ede8a580abd1af
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 71bb0455
......@@ -56,6 +56,7 @@ ProfileManagerConfigWidget::ProfileManagerConfigWidget(Profile *p, QWidget *pare
{
m_layout->setMargin(0);
m_layout->setSpacing(6);
m_layout->setContentsMargins(0, 0, 0, 0);
QVBoxLayout *top = new QVBoxLayout(this);
top->setMargin(0);
......@@ -73,15 +74,19 @@ ProfileManagerConfigWidget::ProfileManagerConfigWidget(Profile *p, QWidget *pare
QWidget *widget = new QWidget;
details->setWidget(widget);
QHBoxLayout *masterLayout = new QHBoxLayout(widget);
masterLayout->setSpacing(12);
QVBoxLayout *iconLayout = new QVBoxLayout;
iconLayout->addWidget(m_iconButton);
iconLayout->addStretch();
masterLayout->addLayout(iconLayout);
masterLayout->addLayout(m_layout);
QHBoxLayout *spacer = new QHBoxLayout;
spacer->addItem(new QSpacerItem(1, 1, QSizePolicy::Fixed, QSizePolicy::MinimumExpanding));
QGridLayout *masterLayout = new QGridLayout(widget);
masterLayout->setMargin(0);
masterLayout->setContentsMargins(6, 0, 6, 0);
masterLayout->addLayout(iconLayout, 0, 0);
masterLayout->addLayout(m_layout, 0, 1);
masterLayout->addLayout(spacer, 1, 0);
discard();
......
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