Use inputMethodHints, correct label text
This commit is contained in:
@@ -63,7 +63,7 @@ Kirigami.ScrollablePage {
|
|||||||
id: hostField
|
id: hostField
|
||||||
label: i18n("Host")
|
label: i18n("Host")
|
||||||
text: Config.proxyHost
|
text: Config.proxyHost
|
||||||
// inputMethodHints: Qt.ImhUrlCharactersOnly
|
inputMethodHints: Qt.ImhUrlCharactersOnly
|
||||||
onEditingFinished: {
|
onEditingFinished: {
|
||||||
proxyConfigChanged = true
|
proxyConfigChanged = true
|
||||||
}
|
}
|
||||||
@@ -73,12 +73,11 @@ Kirigami.ScrollablePage {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
QQC2.Label {
|
QQC2.Label {
|
||||||
text: i18n("Peeker width")
|
text: i18n("Port")
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
QQC2.SpinBox {
|
QQC2.SpinBox {
|
||||||
id: portField
|
id: portField
|
||||||
Kirigami.FormData.label: i18n("Proxy Port")
|
|
||||||
value: Config.proxyPort
|
value: Config.proxyPort
|
||||||
from: 0
|
from: 0
|
||||||
to: 65536
|
to: 65536
|
||||||
|
|||||||
Reference in New Issue
Block a user