1

如何删除空格键中的“British-English”?请参考下图。

在此处输入图像描述

[更新 1]:

以下是我用于输入面板的代码:

 InputPanel {
    id: inputPanel
    parent:mainWindow.contentItem
    z: 1000002
    anchors.bottom:parent.bottom
    anchors.left: parent.left
    anchors.right: parent.right

    visible: Qt.inputMethod.visible
 }
4

1 回答 1

2

您需要在覆盖spaceKeyPanel. 例如,调整默认样式spaceKeyPanel

spaceKeyPanel: KeyPanel {
    Rectangle {
        id: spaceKeyBackground
        radius: 5
        color: "#35322f"
        anchors.fill: parent
        anchors.margins: keyBackgroundMargin
    }
}
于 2017-12-29T11:25:32.757 回答