Commit 3d093c0f authored by Laurent Montel's avatar Laurent Montel 😁

Add margin

parent 254dc57e
......@@ -11,9 +11,12 @@
FolderConfigureSettingsGeneralWidget::FolderConfigureSettingsGeneralWidget(QWidget *parent)
: FolderConfigureSettingsPageBase(parent)
{
QWidget *mainWidget = new QWidget(this);
QHBoxLayout *mainLayout = new QHBoxLayout(mainWidget);
mCollectionGeneralWidget = new MailCommon::CollectionGeneralWidget(this);
mCollectionGeneralWidget->setObjectName(QStringLiteral("mCollectionGeneralWidget"));
addMainWidget(mCollectionGeneralWidget);
mainLayout->addWidget(mCollectionGeneralWidget);
addMainWidget(mainWidget);
mMainLayout->addStretch();
}
......
......@@ -11,9 +11,13 @@
FolderConfigureSettingsViewWidget::FolderConfigureSettingsViewWidget(QWidget *parent)
: FolderConfigureSettingsPageBase(parent)
{
QWidget *mainWidget = new QWidget(this);
QHBoxLayout *mainLayout = new QHBoxLayout(mainWidget);
mCollectionViewWidget = new MailCommon::CollectionViewWidget(this);
mCollectionViewWidget->setObjectName(QStringLiteral("mCollectionTemplateWidget"));
addMainWidget(mCollectionViewWidget);
mainLayout->addWidget(mCollectionViewWidget);
addMainWidget(mainWidget);
mMainLayout->addStretch();
}
FolderConfigureSettingsViewWidget::~FolderConfigureSettingsViewWidget()
......
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