forked from qt-creator/qt-creator
Android: Reduce vertical spacings in the SummaryWidget
Less margins, less spacings. More space. Change-Id: Ida15baa5ba2579332d4f67edcf0c785719cbad8d Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
@@ -189,7 +189,8 @@ public:
|
|||||||
{
|
{
|
||||||
QTC_CHECK(m_detailsWidget);
|
QTC_CHECK(m_detailsWidget);
|
||||||
auto layout = new QVBoxLayout(this);
|
auto layout = new QVBoxLayout(this);
|
||||||
layout->setContentsMargins(12, 12, 12, 12);
|
layout->setContentsMargins(22, 0, 0, 12);
|
||||||
|
layout->setSpacing(4);
|
||||||
for (auto itr = validationPoints.cbegin(); itr != validationPoints.cend(); ++itr) {
|
for (auto itr = validationPoints.cbegin(); itr != validationPoints.cend(); ++itr) {
|
||||||
RowData data;
|
RowData data;
|
||||||
data.m_infoLabel = new InfoLabel(itr.value());
|
data.m_infoLabel = new InfoLabel(itr.value());
|
||||||
@@ -198,6 +199,7 @@ public:
|
|||||||
setPointValid(itr.key(), true);
|
setPointValid(itr.key(), true);
|
||||||
}
|
}
|
||||||
m_detailsWidget->setWidget(this);
|
m_detailsWidget->setWidget(this);
|
||||||
|
setContentsMargins(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void setPointValid(int key, bool valid)
|
void setPointValid(int key, bool valid)
|
||||||
|
Reference in New Issue
Block a user