summaryrefslogtreecommitdiff
path: root/Fields/Text.qml
diff options
context:
space:
mode:
Diffstat (limited to 'Fields/Text.qml')
-rw-r--r--Fields/Text.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/Fields/Text.qml b/Fields/Text.qml
index b4e4dbf..55542e9 100644
--- a/Fields/Text.qml
+++ b/Fields/Text.qml
@@ -24,7 +24,6 @@ Label {
id: popup
width: parent.width
- height: parent.height
padding: 0
onOpened: {
@@ -35,11 +34,9 @@ Label {
TextInput {
id: input
+ anchors { fill: parent; leftMargin: 2; rightMargin: 2 }
+ padding: 0
clip: true
- padding: 2
- topPadding: 0
- bottomPadding: 0
- width: parent.width
onAccepted: {
value = input.text.trim()