Make the scroll bar of the chat bar move properly as you type.
This commit is contained in:
@@ -38,6 +38,11 @@ class ChatTextItemHelper : public QObject
|
||||
*/
|
||||
Q_PROPERTY(QQuickItem *textItem READ textItem WRITE setTextItem NOTIFY textItemChanged)
|
||||
|
||||
/**
|
||||
* @brief The QML text Item the ChatTextItemHelper is handling.
|
||||
*/
|
||||
Q_PROPERTY(QRect cursorRectangle READ cursorRectangle NOTIFY cursorPositionChanged)
|
||||
|
||||
public:
|
||||
enum InsertPosition {
|
||||
Cursor,
|
||||
|
||||
Reference in New Issue
Block a user