|
|
|
@ -11,7 +11,7 @@ Rectangle {
|
|
|
|
|
|
|
|
|
|
property var chatList
|
|
|
|
|
property string historyPopupBackgroundColor: "#b2b2b2"
|
|
|
|
|
property string historyPopupTextColor: "black"
|
|
|
|
|
property string historyPopupTextColor: "#393939"
|
|
|
|
|
signal scrollToBottom()
|
|
|
|
|
signal fetchHistory()
|
|
|
|
|
|
|
|
|
@ -36,12 +36,13 @@ Rectangle {
|
|
|
|
|
anchors.top: parent.top
|
|
|
|
|
anchors.topMargin: 20
|
|
|
|
|
|
|
|
|
|
width: parent.width / 2
|
|
|
|
|
width: parent.width / 3
|
|
|
|
|
height: 32
|
|
|
|
|
color: "grey"
|
|
|
|
|
color: chatRoot.historyPopupBackgroundColor
|
|
|
|
|
radius: 6
|
|
|
|
|
|
|
|
|
|
Text {
|
|
|
|
|
color: chatRoot.historyPopupTextColor
|
|
|
|
|
font.pointSize: 16
|
|
|
|
|
text: !chatModel.exhausted ? "Load history" : "No more history"
|
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
|