Commit eb3383fa authored by Mitch Curtis's avatar Mitch Curtis
Browse files

Doc: clarify how KeyboardStyle::scaleHint is calculated


Task-number: QTBUG-58154
Change-Id: I0598393589f9ac3933318906ec7aa5d33b1deb61
Reviewed-by: default avatarTopi Reiniö <topi.reinio@qt.io>
Showing with 3 additions and 3 deletions
...@@ -44,7 +44,7 @@ import QtQuick 2.0 ...@@ -44,7 +44,7 @@ import QtQuick 2.0
*/ */
QtObject { QtObject {
/*! The current size of the keyboard. */ /*! The current height of the keyboard. */
property real keyboardHeight property real keyboardHeight
/*! The design width of the keyboard. */ /*! The design width of the keyboard. */
...@@ -53,8 +53,8 @@ QtObject { ...@@ -53,8 +53,8 @@ QtObject {
/*! The design height of the keyboard. */ /*! The design height of the keyboard. */
property real keyboardDesignHeight property real keyboardDesignHeight
/*! The keyboard style scale hint. This value is determined by the /*! The keyboard style scale hint. This value is determined by dividing
physical size and the design size of the keyboard. All pixel \l keyboardHeight by \l keyboardDesignHeight. All pixel
dimensions must be proportional to this value. dimensions must be proportional to this value.
*/ */
readonly property real scaleHint: keyboardHeight / keyboardDesignHeight readonly property real scaleHint: keyboardHeight / keyboardDesignHeight
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment