diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2022-04-20 16:27:24 +0300 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2022-04-22 00:48:36 +0300 |
commit | 7962eee50b83a58dcbbfd6dc94fc0a1bec87df01 (patch) | |
tree | 76c6679fc5dd7e93aedf09fed1e0811094255de1 /src/components/BaseKey.qml | |
parent | 7af64d3dc47afec7599a82956d4c35ce21fccb66 (diff) |
Revert "Fix broken layout that results from making key visible after startup"
This reverts commit 13a199e6e2c5f27b0f12eff380df4f0c0d156e6e.
Reverting this change because the layout optimization change in qtdeclarative:
10e359fa0b567534741b8a2550a336dffaf7a68f
would otherwise break virtual keyboard layout.
Fixes: QTBUG-102737
Change-Id: I4664161cf8cacb70e47d55d766dc53780fe00d28
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/components/BaseKey.qml')
-rw-r--r-- | src/components/BaseKey.qml | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/components/BaseKey.qml b/src/components/BaseKey.qml index 945e8a70..af2adee2 100644 --- a/src/components/BaseKey.qml +++ b/src/components/BaseKey.qml @@ -255,13 +255,6 @@ Item { onSoundEffectChanged: keyboard.soundEffect.register(soundEffect) - // QTBUG-54953, QTBUG-55773 - // Avoid a row that was hidden taking up the entire height of the - // keyboard when it is made visible after the application has started. - // This value is low because keys can scale vertically, and setting e.g. 40 - // pixels might be too high for a keyboard that doesn't have a lot of space. - implicitHeight: 1 - Layout.minimumWidth: keyPanel.implicitWidth Layout.minimumHeight: keyPanel.implicitHeight Layout.preferredWidth: weight |