Commit a266d5f1 authored by Martin Straka's avatar Martin Straka

Changed send message attachment layout

parent 110a8c64
......@@ -637,13 +637,27 @@ Item {
}
} // Rectangle
} // Component
AccessibleText {
id: attachmentsSizeLabel
color: datovkaPalette.text
anchors.left: parent.left
anchors.leftMargin: defaultMargin
anchors.top: addFile.bottom
anchors.topMargin: defaultMargin
anchors.right: parent.right
anchors.rightMargin: defaultMargin
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.Wrap
font.pointSize: textFontSizeSmall
text: qsTr("Total size of attachments is %1 B.").arg(totalAttachmentSizeBytes)
}
ScrollableListView {
id: attachmentListSend
delegateHeight: listItemHeight
anchors.top: addFile.bottom
anchors.bottom: attachmentsSizeLabel.top
anchors.top: attachmentsSizeLabel.bottom
anchors.bottom: parent.bottom
clip: true
spacing: 1
opacity: 1
......@@ -658,20 +672,6 @@ Item {
}
ScrollIndicator.vertical: ScrollIndicator {}
} // Listview
AccessibleText {
id: attachmentsSizeLabel
color: datovkaPalette.text
anchors.left: parent.left
anchors.leftMargin: defaultMargin
anchors.bottom: parent.bottom
anchors.bottomMargin: defaultMargin
anchors.right: parent.right
anchors.rightMargin: defaultMargin
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.Wrap
font.pointSize: textFontSizeSmall
text: qsTr("Total size of attachments is %1 B.").arg(totalAttachmentSizeBytes)
}
}
//----ADDITIONALS SECTION------------
Flickable {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment