diff options
author | Ye ShanShan <yeshanshan@uniontech.com> | 2021-07-29 12:32:07 +0800 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-01-11 19:17:15 +0000 |
commit | b0aa0860f3f012a7d4740ed1d69b355a61aa3624 (patch) | |
tree | 7e3e4ae769e2850072c778ed380e7754f8464023 | |
parent | fbfcf5e97e4eca0e79dfc4322765be495a39418a (diff) | |
download | qtdoc-b0aa0860f3f012a7d4740ed1d69b355a61aa3624.tar.gz |
Docs: add color attribute to Property Binding
Unable to see the two children rectangles within the property binding example without color, so add color attribute to Property Binding example for easier readability.
Fixes: QTBUG-91543
Change-Id: I5d7f316898a89dcc99f047b865cea88252fb820e
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
(cherry picked from commit d4999d2dbafbc88ed1d856b129f2596bee4e9df0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | doc/src/qmlapp/firststepsqml.qdoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/qmlapp/firststepsqml.qdoc b/doc/src/qmlapp/firststepsqml.qdoc index 6a676a0c..bdeb0bff 100644 --- a/doc/src/qmlapp/firststepsqml.qdoc +++ b/doc/src/qmlapp/firststepsqml.qdoc @@ -268,12 +268,14 @@ Rectangle { Rectangle { width: parent.width / 2 height: parent.height + color: "blue" } Rectangle { width: parent.width / 2 height: parent.height x: parent.width / 2 + color: "green" } } \endqml |