summaryrefslogtreecommitdiff
path: root/plugingui/textedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/textedit.h')
-rw-r--r--plugingui/textedit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/textedit.h b/plugingui/textedit.h
index 83a7627..8df14b0 100644
--- a/plugingui/textedit.h
+++ b/plugingui/textedit.h
@@ -53,6 +53,7 @@ public:
void setReadOnly(bool readonly);
bool readOnly();
+ void adaptTextOnResize(bool adapt);
void preprocessText();
Notifier<> textChangedNotifier;
@@ -74,6 +75,7 @@ private:
std::string _text;
+ bool adapt_text_on_resize{false};
bool readonly{true};
std::list< std::string > preprocessedtext;