diff --git a/native/AddData.qml b/native/AddData.qml index cfe45fa..b4acfc4 100644 --- a/native/AddData.qml +++ b/native/AddData.qml @@ -67,6 +67,17 @@ Window { text = text.replace(/[^0-9]/g, "") } + Keys.onReturnPressed: notizenT.focus = true + } + + TextField { + id: notizenT + anchors { + horizontalCenter: parent.horizontalCenter + topMargin: 5 + top: amountT.bottom + } + placeholderText: qsTr("Notizen") Keys.onReturnPressed: groupSelector.focus = true } @@ -75,8 +86,9 @@ Window { anchors { horizontalCenter: parent.horizontalCenter topMargin: 5 - top: amountT.bottom + top: notizenT.bottom } + model: groupsModel textRole: "name" Keys.onReturnPressed: submitB.focus = true diff --git a/native/Main.qml b/native/Main.qml index 38abf7c..f0484c8 100644 --- a/native/Main.qml +++ b/native/Main.qml @@ -13,8 +13,8 @@ Window { } id: root - width: 640 - height: 480 + width: 1000 + height: 600 visible: true color: getColors().window