215
215
text.truncate(text.length() - 1);
216
bounding_rect = painter.boundingRect(0, 156, 256, 40, Qt::AlignHCenter | Qt::AlignVCenter, text + "...");
216
bounding_rect = painter.boundingRect(0, 156, 256, 40, Qt::AlignHCenter | Qt::AlignVCenter,
218
219
} while(bounding_rect.width() > 240);