NInputButton properly uses NTextInput

This commit is contained in:
LemmyCook
2025-09-21 20:49:46 -04:00
parent 46c3ea5d22
commit a7e3deecd3
6 changed files with 24 additions and 71 deletions
+9 -9
View File
@@ -54,14 +54,6 @@ ColumnLayout {
}
}
// Block mouse events from going through
MouseArea {
anchors.fill: parent
z: -1 // Place behind the TextField
acceptedButtons: Qt.AllButtons
propagateComposedEvents: false
}
TextField {
id: input
@@ -92,5 +84,13 @@ ColumnLayout {
onEditingFinished: root.editingFinished()
}
// Block mouse events from going through to components behind this one
MouseArea {
anchors.fill: parent
z: -1 // Place behind the TextField
acceptedButtons: Qt.AllButtons
propagateComposedEvents: false
}
}
}
}