Fix deliveries list that took the scroll focus.

Make a 2 columns view to display them.
This commit is contained in:
Julien Wadel 2022-08-30 14:43:35 +02:00
parent df8d7f2052
commit fa1d54242b

View file

@ -24,15 +24,15 @@ Loader{
property ParticipantImdnStateProxyModel imdnStatesModel: ParticipantImdnStateProxyModel {
chatMessageModel: loader.chatMessageModel
}
height: visible ? (ChatStyle.composingText.height-5)*loader.imdnStatesModel.count : 0
height: visible ? (ChatStyle.composingText.height-5)*(loader.imdnStatesModel.count/2 + 1) : 0
visible:false
active: visible
sourceComponent:
GridView{
id: deliveryLayout
cellWidth: parent.width; cellHeight: ChatStyle.composingText.height-5
cellWidth: parent.width/2; cellHeight: ChatStyle.composingText.height-5
interactive: false
model: loader.imdnStatesModel
function getText(state, displayName, stateChangeTime){
if(state == LinphoneEnums.ChatMessageStateDelivered)