Skip to content

Commit 2a6e0d6

Browse files
committed
Fix caption position in vertical layout
1 parent 6e193a9 commit 2a6e0d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DefaultVerticalNodeGeometry.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ QPointF DefaultVerticalNodeGeometry::captionPosition(NodeId const nodeId) const
162162
QSize size = _graphModel.nodeData<QSize>(nodeId, NodeRole::Size);
163163

164164
unsigned int step = portCaptionsHeight(nodeId, PortType::In);
165+
step += _portSpasing;
165166

166167
auto rect = captionRect(nodeId);
167168

0 commit comments

Comments
 (0)