Skip to content

Commit 388f65d

Browse files
committed
change the way in which the progress label was displayed
1 parent aca8e43 commit 388f65d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/DefaultNodePainter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,11 @@ void DefaultNodePainter::drawProgressValue(QPainter *painter, NodeGraphicsObject
393393

394394
QFont font = painter->font();
395395
font.setBold(true);
396-
font.setPointSize(5);
396+
font.setPointSize(7);
397397
auto rect = QFontMetrics(font).boundingRect(nodeProgress);
398398

399399
QSize size = geometry.size(nodeId);
400-
QPointF position(rect.width() / 4.0, size.height() - 0.5 * rect.height());
400+
QPointF position(rect.width() / 1.5, size.height() - 1.0 * rect.height());
401401

402402
QJsonDocument json = QJsonDocument::fromVariant(model.nodeData(nodeId, NodeRole::Style));
403403
NodeStyle nodeStyle(json.object());

0 commit comments

Comments
 (0)