feat: add QPointF tree-expandable type editor to PropertyEditor

This commit is contained in:
jessequ 2026-07-31 15:26:08 +08:00
parent 94c48e7de8
commit e63fae92c8
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ void PropertyTypeCustomization_PointF::customizeHeaderRow(QPropertyHandle* inPro
auto updateLabel = [valueLabel](const QVariant& var) {
QPointF pt = var.value<QPointF>();
valueLabel->setProperty("pointText", QString("(%1, %2)").arg(pt.x(), 0, 'f', 3).arg(pt.y(), 0, 'f', 3));
valueLabel->setProperty("pointText", QString(" (%1, %2)").arg(pt.x(), 0, 'f', 3).arg(pt.y(), 0, 'f', 3));
};
updateLabel(inPropertyHandle->getVar());