TextInputRow.qml 503 B

123456789101112131415161718192021
  1. import QtQuick 2.9
  2. import QtQuick.Layouts 1.2
  3. InputRow {
  4. property alias text: _inputItem.text
  5. property alias input: _inputItem
  6. TextInput {
  7. id: _inputItem
  8. anchors.left: parent.left
  9. anchors.right: parent.right
  10. anchors.bottom: parent.bottom
  11. font.pointSize: 12
  12. color: "#ffffff"
  13. Rectangle {
  14. anchors.top: _inputItem.bottom
  15. width: _inputItem.width
  16. color: "#cfdfe7"
  17. height: 1
  18. }
  19. }
  20. }