Non-editable TextPropertyComponent


Hi All!

Would it be possible to add an argument or a setter/getter to make TextPropertyComponents non-editable? Seems easy enough to edit/add a constructor:

class TextPropertyComponent::LabelComp  : public Label,
                                          public FileDragAndDropTarget
    LabelComp (TextPropertyComponent& tpc, const int charLimit, const bool multiline)
        : Label (String(), String()),
          owner (tpc),
          maxChars (charLimit),
          isMultiline (multiline)
        setEditable (true, true, false);


Thank you!



I’ve added this and it will be on the develop branch shortly.


Amazing, thank you!