aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/styles
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2017-01-17 10:46:28 +0100
committerMitch Curtis <mitch.curtis@qt.io>2017-01-17 12:26:09 +0000
commiteb3383fab42ee1e741d54e044bfb7246640a57a5 (patch)
treec498e816c1150ba12664f5a8f194e0709d6da8a6 /src/virtualkeyboard/styles
parent9beed8859bcf78f5d4cff04be07f1ef52f266881 (diff)
Doc: clarify how KeyboardStyle::scaleHint is calculated
Task-number: QTBUG-58154 Change-Id: I0598393589f9ac3933318906ec7aa5d33b1deb61 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/virtualkeyboard/styles')
-rw-r--r--src/virtualkeyboard/styles/KeyboardStyle.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/virtualkeyboard/styles/KeyboardStyle.qml b/src/virtualkeyboard/styles/KeyboardStyle.qml
index 8c4dd153..3fa55ca2 100644
--- a/src/virtualkeyboard/styles/KeyboardStyle.qml
+++ b/src/virtualkeyboard/styles/KeyboardStyle.qml
@@ -44,7 +44,7 @@ import QtQuick 2.0
*/
QtObject {
- /*! The current size of the keyboard. */
+ /*! The current height of the keyboard. */
property real keyboardHeight
/*! The design width of the keyboard. */
@@ -53,8 +53,8 @@ QtObject {
/*! The design height of the keyboard. */
property real keyboardDesignHeight
- /*! The keyboard style scale hint. This value is determined by the
- physical size and the design size of the keyboard. All pixel
+ /*! The keyboard style scale hint. This value is determined by dividing
+ \l keyboardHeight by \l keyboardDesignHeight. All pixel
dimensions must be proportional to this value.
*/
readonly property real scaleHint: keyboardHeight / keyboardDesignHeight