fix: chat identifier position
This commit is contained in:
parent
61606a872e
commit
40a523851d
|
@ -20,7 +20,7 @@ ScrollView {
|
|||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
||||
ScrollBar.vertical.policy: chatLogView.contentHeight > chatLogView.height ? ScrollBar.AlwaysOn : ScrollBar.AlwaysOff
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||
|
||||
ListView {
|
||||
|
|
|
@ -24,7 +24,7 @@ Item {
|
|||
height: {
|
||||
switch(contentType){
|
||||
case Constants.chatIdentifier:
|
||||
return 196;
|
||||
return parent.parent.height
|
||||
case Constants.stickerType:
|
||||
return stickerId.height + 50
|
||||
default:
|
||||
|
@ -40,8 +40,7 @@ Item {
|
|||
id: channelIdentifier
|
||||
visible: authorCurrentMsg == ""
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.topMargin: 20
|
||||
anchors.top: parent.top
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
Rectangle {
|
||||
id: circleId
|
||||
|
|
Loading…
Reference in New Issue