m.boundingRect(QRect(), 0, "Tg").height());
const QSizeF label_size(
text_size.width() + View::LabelPadding.width() * 2,
ceilf((text_size.height() + View::LabelPadding.height() * 2) / 2) * 2);
const float half_height = label_size.height() / 2;
return QRectF(
m.boundingRect(QRect(), 0, "Tg").height());
const QSizeF label_size(
text_size.width() + View::LabelPadding.width() * 2,
ceilf((text_size.height() + View::LabelPadding.height() * 2) / 2) * 2);
const float half_height = label_size.height() / 2;
return QRectF(