如何删除空格键中的"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
}发布于 2017-12-29 19:25:33
您需要创建一个覆盖spaceKeyPanel的custom style。例如,调整default style's spaceKeyPanel
spaceKeyPanel: KeyPanel {
Rectangle {
id: spaceKeyBackground
radius: 5
color: "#35322f"
anchors.fill: parent
anchors.margins: keyBackgroundMargin
}
}https://stackoverflow.com/questions/48020896
复制相似问题