@@ -54,7 +54,7 void AbstractChartLayout::setGeometry(const QRectF &rect) | |||
|
54 | 54 | |
|
55 | 55 | contentGeometry = calculateContentGeometry(contentGeometry); |
|
56 | 56 | |
|
57 | if (title && title->isVisible()) | |
|
57 | if (title && title->isVisible() && !title->text().isEmpty()) | |
|
58 | 58 | contentGeometry = calculateTitleGeometry(contentGeometry, title); |
|
59 | 59 | |
|
60 | 60 | if (legend->isAttachedToChart() && legend->isVisible()) |
General Comments 0
You need to be logged in to leave comments.
Login now