Source

Target

Commits (2)
Showing with 7 additions and 2 deletions
......@@ -11,8 +11,8 @@ Button {
parent: Overlay.overlay
x: (parent.width - width) / 2
y: (parent.height - height) / 2
x: Math.round((parent.width - width) / 2)
y: Math.round((parent.height - height) / 2)
width: 100
height: 100
}
......
......@@ -86,6 +86,8 @@ QT_BEGIN_NAMESPACE
RangeSlider. In the example above, \l {first.visualPosition} will be \c 0.24
in a left-to-right application, and \c 0.76 in a right-to-left application.
For a slider that allows the user to select a single value, see \l Slider.
\sa {Customizing RangeSlider}, {Input Controls},
{Focus Management in Qt Quick Controls 2}
*/
......
......@@ -73,6 +73,9 @@ QT_BEGIN_NAMESPACE
In the example above, \l visualPosition will be \c 0.24 in a left-to-right
application, and \c 0.76 in a right-to-left application.
For a slider that allows the user to select a range by providing two
handles, see \l RangeSlider.
\sa {Customizing Slider}, {Input Controls}
*/
......