diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2017-12-22 13:51:21 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2017-12-22 13:00:15 +0000 |
commit | 6f7607071e236eca91ab04c395dd061dcadeaef7 (patch) | |
tree | edec373655389d2102221eec58484fa5c51726ad /src | |
parent | 951cf6baf0d34a104b01b42de1454696c51f7177 (diff) |
Doc: update code snippet to add some content to the Drawer
Task-number: QTBUG-60550
Change-Id: I14c4d0343e2b02180bbce0546a69a7241ee6008e
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/quicktemplates2/qquickdrawer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickdrawer.cpp b/src/quicktemplates2/qquickdrawer.cpp index f5df8015..dd96b3a8 100644 --- a/src/quicktemplates2/qquickdrawer.cpp +++ b/src/quicktemplates2/qquickdrawer.cpp @@ -79,6 +79,11 @@ QT_BEGIN_NAMESPACE id: drawer width: 0.66 * window.width height: window.height + + Label { + text: "Content goes here!" + anchors.centerIn: parent + } } } \endcode |