diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2022-04-25 14:27:28 +0200 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2022-04-27 15:29:24 +0200 |
commit | 4b3e99b9a28b0641265a4afed720e5359e35ffda (patch) | |
tree | d8fd08ab70de33746217ecee180093a7e2742e60 /tools | |
parent | b1448d0d5cdd10081e3ce36467a2e75523a790a2 (diff) |
QmlLintQuickPlugin: Warn about disallowed positioning properties
When using Grid and Flow, children are not supposed to use anchors or
the x and y property. The same applies to the children of Layouts which
in addition should not set width or height.
This change adds the warnings when these properties are set improperly.
It also adds tests for the existing warning about the children
of Layout not being allowed to use anchors.
Task-number: QTBUG-102277
Task-number: QTBUG-102859
Change-Id: I83c553569cdba90c8841802090d4ef534583ecb8
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions