dsc 2 years ago
parent 960db48ab1
commit 9b31cebd4b

@ -13,6 +13,9 @@ Components.ChatRoot {
property int itemHeightDefault: 68
property int itemHeightSmall: 32
historyPopupBackgroundColor: "#262d31"
historyPopupTextColor: "white"
Image {
// background
source: "qrc:/whatsthat/bg.png"

@ -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

Loading…
Cancel
Save