Revert "Utils: Remove the text option for LayoutItem"

This reverts commit 5154e1eb02.

For some yet unknown reason, this renders the whole sublayout read-only.

Change-Id: Ide1587382392a57643bed1b3cdd7d8987dbdab57
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-09-28 14:27:56 +02:00
parent a5026d7a2f
commit bc4e76f76b
2 changed files with 7 additions and 9 deletions

View File

@@ -62,6 +62,7 @@ public:
QLayout *layout = nullptr;
QWidget *widget = nullptr;
BaseAspect *aspect = nullptr;
QString text;
int span = 1;
Qt::Alignment align;
};