ArchSpace - Improve Tooltip in Text following 13039 PR (#13422)
Co-authored-by: Yorik van Havre <yorik@uncreated.net>
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user