2019-04-15 06:12:07 +10:00
|
|
|
import QtQuick 2.7
|
2019-04-29 05:45:42 +10:00
|
|
|
import QtQuick.Layouts 1.3
|
2019-04-29 05:18:36 +10:00
|
|
|
import "../Base"
|
2019-04-15 06:12:07 +10:00
|
|
|
|
2019-05-12 07:51:00 +10:00
|
|
|
HRectangle {
|
2019-05-12 05:52:56 +10:00
|
|
|
color: HStyle.chat.typingMembers.background
|
2019-04-29 04:20:30 +10:00
|
|
|
|
2019-04-15 06:12:07 +10:00
|
|
|
Layout.fillWidth: true
|
2019-07-06 09:54:16 +10:00
|
|
|
Layout.preferredHeight: usersLabel.text ? usersLabel.implicitHeight : 0
|
2019-04-21 07:36:21 +10:00
|
|
|
|
2019-04-29 05:18:36 +10:00
|
|
|
HLabel {
|
2019-04-21 07:45:51 +10:00
|
|
|
id: usersLabel
|
2019-04-15 06:12:07 +10:00
|
|
|
anchors.fill: parent
|
|
|
|
|
2019-07-06 09:54:16 +10:00
|
|
|
text: chatPage.roomInfo.typingText
|
2019-04-15 06:12:07 +10:00
|
|
|
elide: Text.ElideMiddle
|
|
|
|
maximumLineCount: 1
|
|
|
|
}
|
|
|
|
}
|