InputRow.qml 595 B

1234567891011121314151617181920212223242526
  1. import QtQuick 2.9
  2. import QtQuick.Layouts 1.2
  3. RowLayout {
  4. property alias label: labelItem.text
  5. default property alias content: _content.data
  6. anchors.left: parent.left
  7. anchors.right: parent.right
  8. height: 70
  9. spacing: 10
  10. PrimaryText {
  11. id: labelItem
  12. Layout.alignment: Qt.AlignBottom
  13. Layout.minimumWidth: 100
  14. Layout.maximumWidth: 100
  15. Layout.margins: 10
  16. }
  17. Item {
  18. id: _content
  19. Layout.fillHeight: true
  20. Layout.fillWidth: true
  21. Layout.margins: 10
  22. Layout.alignment: Qt.AlignBottom
  23. }
  24. }