forked from qt-creator/qt-creator
DebuggerKitConfigWidget: Fix layout for long paths
Change-Id: Ic21ef04417bc6ca10493fea0ee45e9b2524a10a3 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -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()));
|
||||||
|
|||||||
Reference in New Issue
Block a user