parent
2449c8840e
commit
8c1024354e
|
@ -215,6 +215,7 @@ Item {
|
||||||
+ (retry.visible && !chatTime.visible ? Style.current.smallPadding : 0)
|
+ (retry.visible && !chatTime.visible ? Style.current.smallPadding : 0)
|
||||||
+ (pinnedRectangleLoader.active ? Style.current.smallPadding : 0)
|
+ (pinnedRectangleLoader.active ? Style.current.smallPadding : 0)
|
||||||
+ (editModeOn ? 25 : 0)
|
+ (editModeOn ? 25 : 0)
|
||||||
|
+ (!chatName.visible ? 6 : 0)
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
||||||
color: {
|
color: {
|
||||||
|
@ -509,7 +510,7 @@ Item {
|
||||||
anchors.leftMargin: chatImage.imageWidth + Style.current.padding + root.chatHorizontalPadding
|
anchors.leftMargin: chatImage.imageWidth + Style.current.padding + root.chatHorizontalPadding
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: root.chatHorizontalPadding
|
anchors.rightMargin: root.chatHorizontalPadding
|
||||||
anchors.topMargin: (!chatName.visible || !chatReply.active || !pinnedRectangleLoader.active) ? Style.current.halfPadding : 0
|
anchors.topMargin: (!chatName.visible || !chatReply.active || !pinnedRectangleLoader.active) ? 4 : 0
|
||||||
visible: !editModeOn
|
visible: !editModeOn
|
||||||
ChatTextView {
|
ChatTextView {
|
||||||
id: chatText
|
id: chatText
|
||||||
|
@ -681,6 +682,7 @@ Item {
|
||||||
|
|
||||||
Retry {
|
Retry {
|
||||||
id: retry
|
id: retry
|
||||||
|
height: visible ? implicitHeight : 0
|
||||||
anchors.left: chatTime.visible ? chatTime.right : messageContent.left
|
anchors.left: chatTime.visible ? chatTime.right : messageContent.left
|
||||||
anchors.leftMargin: chatTime.visible ? chatHorizontalPadding : 0
|
anchors.leftMargin: chatTime.visible ? chatHorizontalPadding : 0
|
||||||
anchors.top: chatTime.visible ? chatTime.top : messageContent.bottom
|
anchors.top: chatTime.visible ? chatTime.top : messageContent.bottom
|
||||||
|
|
Loading…
Reference in New Issue