From 936e215aed9534894d3a295735f5e54840af5181 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Thu, 25 Jan 2018 07:57:19 +0200 Subject: Resize text input vertically to fit the contents --- include/TextInputWidget.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/TextInputWidget.h') diff --git a/include/TextInputWidget.h b/include/TextInputWidget.h index cc01be69..c7cb06c5 100644 --- a/include/TextInputWidget.h +++ b/include/TextInputWidget.h @@ -50,6 +50,7 @@ public: void submit(); signals: + void heightChanged(int height); void startedTyping(); void stoppedTyping(); void message(QString); @@ -73,7 +74,7 @@ private: void afterCompletion(int); }; -class TextInputWidget : public QFrame +class TextInputWidget : public QWidget { Q_OBJECT -- cgit 1.5.1