ui: replace html edit in text node with edit in viewer button

This commit is contained in:
itsmattkc
2022-05-10 18:07:17 -07:00
parent 67ac32ee57
commit 501564fb22
16 changed files with 148 additions and 54 deletions
+1
View File
@@ -44,6 +44,7 @@ TextGeneratorV3::TextGeneratorV3() :
ShapeNodeBase(false)
{
AddInput(kTextInput, NodeValue::kText, QStringLiteral("<p style='font-size: 72pt; color: white;'>%1</p>").arg(tr("Sample Text")));
SetInputProperty(kTextInput, QStringLiteral("vieweronly"), true);
SetStandardValue(kSizeInput, QVector2D(400, 300));