From 2d22b52b5dec849e098fb0cb38ef4b069d44ae9b Mon Sep 17 00:00:00 2001 From: "vladimir.kuznetsov" Date: Mon, 27 Nov 2023 13:42:08 +0700 Subject: [PATCH] limited client name length --- client/ui/qml/Pages2/PageShare.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/ui/qml/Pages2/PageShare.qml b/client/ui/qml/Pages2/PageShare.qml index 0d7ece75..3e08bf87 100644 --- a/client/ui/qml/Pages2/PageShare.qml +++ b/client/ui/qml/Pages2/PageShare.qml @@ -529,7 +529,7 @@ PageType { id: clientInfoDrawer width: root.width - height: root.height * 0.45 + height: root.height * 0.5 ColumnLayout { anchors.top: parent.top @@ -591,6 +591,7 @@ PageType { Layout.fillWidth: true headerText: qsTr("Client name") textFieldText: clientName + textField.maximumLength: 30 } BasicButtonType { @@ -641,9 +642,6 @@ PageType { questionDrawer.close() } questionDrawer.open() - - - } } } @@ -651,6 +649,7 @@ PageType { } } } + QuestionDrawer { id: questionDrawer }