aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickscreen.cpp')
-rw-r--r--src/quick/items/qquickscreen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/items/qquickscreen.cpp b/src/quick/items/qquickscreen.cpp
index 54c7527eec..82f4f0af3e 100644
--- a/src/quick/items/qquickscreen.cpp
+++ b/src/quick/items/qquickscreen.cpp
@@ -108,9 +108,9 @@ QT_BEGIN_NAMESPACE
such as task bars and system menus. If you want to position a Window at
the right of the desktop, you can bind to it like this:
- \qml
+ \code
x: Screen.desktopAvailableWidth - width
- \endqml
+ \endcode
*/
/*!
\qmlattachedproperty int Screen::desktopAvailableHeight
@@ -122,9 +122,9 @@ QT_BEGIN_NAMESPACE
such as task bars and system menus. If you want to position a Window at
the bottom of the desktop, you can bind to it like this:
- \qml
+ \code
y: Screen.desktopAvailableHeight - height
- \endqml
+ \endcode
*/
/*!
\qmlattachedproperty real Screen::logicalPixelDensity