On this page

C

MCU.Config.Experimental.vkbScreenWidth

Sets width of Qt Quick Ultralite virtual keyboard.

Description

This property sets the width of the Qt Quick Ultralite virtual keyboard for a device. It is a platform-level property.

The value determines StyleConstants.vkbScreenWidth and the keyboard's internal scaling constants StyleConstants.scaleHint and StyleConstants.keyboardHeight, which size the virtual keyboard's keys, fonts and layout.

For an example that uses StyleConstants.vkbScreenWidth to size the InputPanel, see Virtual keyboard scaling.

Usage

This property is accepted in BoardDefaults.qmlprojectconfig for the target platform. It takes an integer, and the default value is 480.

Code example:

MCU.Config {
    Experimental.vkbScreenWidth: 800
}

Since

This property was introduced in QmlProject API 2.9 .

Available under certain Qt licenses.
Find out more.