[ui] use Node label in GraphEditor

This commit is contained in:
Yann Lanthony 2018-11-16 20:02:48 +01:00
parent e80bdd1161
commit 7db4beea89
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ ColumnLayout {
Label { Label {
Layout.fillWidth: true Layout.fillWidth: true
elide: Text.ElideMiddle elide: Text.ElideMiddle
text: node.nodeType text: node.label
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
padding: 6 padding: 6
} }

View file

@ -80,7 +80,7 @@ Item {
width: parent.width width: parent.width
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
padding: 4 padding: 4
text: node.nodeType text: node.label
color: "#EEE" color: "#EEE"
font.pointSize: 8 font.pointSize: 8
background: Rectangle { background: Rectangle {