Debugger: Improve layout in DebuggerLanguageAspect

Reduce the space between checkbox and info text label.

Change-Id: I1654752124544184628eefe7fb5303613beff94e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2022-01-20 11:52:30 +01:00
parent 2285018c6c
commit f8385f98c1

View File

@@ -100,6 +100,7 @@ void DebuggerLanguageAspect::addToLayout(LayoutBuilder &builder)
QTC_CHECK(!m_checkBox);
m_checkBox = new QCheckBox(m_label);
m_checkBox->setChecked(m_value);
m_checkBox->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
QTC_CHECK(m_clickCallBack);
connect(m_checkBox, &QAbstractButton::clicked, this, m_clickCallBack, Qt::QueuedConnection);