DebuggerKitConfigWidget: Fix layout for long paths

Change-Id: Ic21ef04417bc6ca10493fea0ee45e9b2524a10a3
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Daniel Teske
2013-02-20 16:17:30 +01:00
committed by hjk
parent 5e58349a2d
commit a5d9ed6fe7

View File

@@ -74,9 +74,9 @@ DebuggerKitConfigWidget::DebuggerKitConfigWidget(ProjectExplorer::Kit *workingCo
{ {
QHBoxLayout *mainLayout = new QHBoxLayout(m_main); QHBoxLayout *mainLayout = new QHBoxLayout(m_main);
mainLayout->addWidget(m_label); mainLayout->addWidget(m_label);
mainLayout->addStretch(); mainLayout->setMargin(0);
mainLayout->addWidget(m_autoDetectButton); mainLayout->addWidget(m_autoDetectButton);
m_label->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred); m_autoDetectButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
connect(m_autoDetectButton, SIGNAL(pressed()), SLOT(autoDetectDebugger())); connect(m_autoDetectButton, SIGNAL(pressed()), SLOT(autoDetectDebugger()));
connect(m_editButton, SIGNAL(pressed()), SLOT(showDialog())); connect(m_editButton, SIGNAL(pressed()), SLOT(showDialog()));