ArchSpace - Improve Tooltip in Text following 13039 PR (#13422)

Co-authored-by: Yorik van Havre <yorik@uncreated.net>
This commit is contained in:
marcuspollio
2024-04-17 01:05:51 +12:00
committed by GitHub
parent 9e76f0f65e
commit aff60eca02

View File

@@ -509,7 +509,7 @@ class _ViewProviderSpace(ArchComponent.ViewProviderComponent):
pl = vobj.PropertiesList
if not "Text" in pl:
vobj.addProperty("App::PropertyStringList", "Text", "Space",QT_TRANSLATE_NOOP("App::Property","The text to show. Use $area, $label, $tag, $floor, $walls, $ceiling to insert the respective data"))
vobj.addProperty("App::PropertyStringList", "Text", "Space",QT_TRANSLATE_NOOP("App::Property","The text to show. Use $area, $label, $tag, $longname, $description and for finishes $floor, $walls, $ceiling to insert the respective data"))
vobj.Text = ["$label","$area"]
if not "FontName" in pl:
vobj.addProperty("App::PropertyFont", "FontName", "Space",QT_TRANSLATE_NOOP("App::Property","The name of the font"))