mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-29 00:46:32 +02:00
[ui] Node: display Attribute labels instead of technical names
This commit is contained in:
parent
ac149e1e51
commit
79d35ac5e3
2 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ class GraphLayout(QObject):
|
|||
super(GraphLayout, self).__init__(graph)
|
||||
self.graph = graph
|
||||
self._depthMode = GraphLayout.DepthMode.MaxDepth
|
||||
self._nodeWidth = 150 # implicit node width
|
||||
self._nodeWidth = 160 # implicit node width
|
||||
self._nodeHeight = 120 # implicit node height
|
||||
self._gridSpacing = 40 # column/line spacing between nodes
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ RowLayout {
|
|||
id: nameLabel
|
||||
|
||||
property bool hovered: (inputConnectMA.containsMouse || inputConnectMA.drag.active || inputDropArea.containsDrag || outputConnectMA.containsMouse || outputConnectMA.drag.active || outputDropArea.containsDrag)
|
||||
text: attribute.name
|
||||
text: attribute.label
|
||||
elide: hovered ? Text.ElideNone : Text.ElideMiddle
|
||||
width: hovered ? contentWidth : parent.width
|
||||
font.pointSize: 7
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue