long enough for root digest
diff --git a/digesttreescene.cpp b/digesttreescene.cpp
index d987633..82ad890 100644
--- a/digesttreescene.cpp
+++ b/digesttreescene.cpp
@@ -153,13 +153,14 @@
QRectF rootInnerBoundingRect(rim, rim, nodeSize - rim * 2, nodeSize - rim * 2);
addRect(rootBoundingRect, QPen(Qt::black), QBrush(Qt::darkRed));
addRect(rootInnerBoundingRect, QPen(Qt::black), QBrush(Qt::lightGray));
- QRectF digestRect(- nodeSize, - nodeSize, 3 * nodeSize, 30);
+ QRectF digestRect(- 5 * nodeSize , - nodeSize, 11 * nodeSize, 30);
addRect(digestRect, QPen(Qt::darkCyan), QBrush(Qt::darkCyan));
+
QGraphicsTextItem *digestItem = addText(digest);
QRectF digestBoundingRect = digestItem->boundingRect();
- digestItem->setDefaultTextColor(Qt::white);
+ digestItem->setDefaultTextColor(Qt::black);
digestItem->setFont(QFont("Cursive", 12, QFont::Bold));
- digestItem->setPos(- nodeSize + (3 * nodeSize - digestBoundingRect.width()) / 2, - nodeSize + 5);
+ digestItem->setPos(- 4 * nodeSize + (11 * nodeSize - digestBoundingRect.width()) / 2, - nodeSize + 5);
m_rootDigest = digestItem;
// plot child nodes