Skip to content

Commit

Permalink
qml: Make the Number keyboard layout only numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
dobey committed Jun 29, 2022
1 parent f58bc4c commit 3c2e5f1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions qml/languages/Keyboard_numbers.qml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ KeyPad {
CharKey { label: "1"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
CharKey { label: "2"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
CharKey { label: "3"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
CharKey { label: "-"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
}

Row {
Expand All @@ -55,7 +54,6 @@ KeyPad {
CharKey { label: "4"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
CharKey { label: "5"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
CharKey { label: "6"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
SmallSpaceKey { padding: 0; width: c1.numKeyWidth; height: c1.numKeyHeight; }
}

Row {
Expand All @@ -65,16 +63,14 @@ KeyPad {
CharKey { label: "7"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
CharKey { label: "8"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
CharKey { label: "9"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
BackspaceKey { padding: 0; width: c1.numKeyWidth; height: c1.numKeyHeight; }
}

Row {
anchors.horizontalCenter: parent.horizontalCenter;
spacing: Device.gu(0.5);

CharKey { label: "+"; annotation: "#*"; extended: ["#", "*"]; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
BackspaceKey { padding: 0; width: c1.numKeyWidth; height: c1.numKeyHeight; }
CharKey { label: "0"; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
CharKey { label: "."; noMagnifier: true; width: c1.numKeyWidth; height: c1.numKeyHeight; }
ReturnKey { padding: 0; width: c1.numKeyWidth; height: c1.numKeyHeight; }
}
} // column
Expand Down

0 comments on commit 3c2e5f1

Please sign in to comment.