Commit ab3e2f66 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Standarddialogs example: Remove horizontal spacer from fullscreen layout.

It does not work as expected since the QLineEdits do not expand.
Amends b880b7e1

.

Change-Id: I0b3b3822cca7fc6442a7155eecd46bd3d134d069
Reviewed-by: default avatarShawn Rutledge <shawn.rutledge@theqtcompany.com>
Showing with 0 additions and 1 deletion
......@@ -103,7 +103,6 @@ Dialog::Dialog(QWidget *parent)
QHBoxLayout *horizontalLayout = new QHBoxLayout(this);
QGroupBox *groupBox = new QGroupBox(QGuiApplication::applicationDisplayName(), this);
horizontalLayout->addWidget(groupBox);
horizontalLayout->addItem(new QSpacerItem(0, 0, QSizePolicy::MinimumExpanding, QSizePolicy::Ignored));
verticalLayout = new QVBoxLayout(groupBox);
} else {
verticalLayout = new QVBoxLayout(this);
......
Supports Markdown
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