mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Fix deliveries list that took the scroll focus.
Make a 2 columns view to display them.
This commit is contained in:
parent
df8d7f2052
commit
fa1d54242b
1 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue