Commit 6da2773c authored by Martin Straka's avatar Martin Straka
Browse files

Fixed text position in the message detail page

parent 186ddcf2
......@@ -238,7 +238,7 @@ Component {
anchors.right: parent.right
anchors.left: parent.left
contentHeight: flickContent.implicitHeight
height: (zfoType == MsgInfo.TYPE_MESSAGE) ? parent.height * 0.5 : parent.height - headerHeight
height: (zfoType == MsgInfo.TYPE_MESSAGE) ? parent.height * 0.4 : parent.height - headerHeight
Pane {
id: flickContent
anchors.fill: parent
......@@ -406,9 +406,11 @@ Component {
id: emptyList
visible: false
color: datovkaPalette.text
anchors.centerIn: parent
anchors.top: attachmentLabel.bottom
anchors.bottom: parent.bottom
width: parent.width
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
wrapMode: Text.Wrap
text: fromLocalDb ? qsTr("Attachments have not been downloaded yet.\nClick the icon or this text for their download.") : qsTr("No attachments present.")
MouseArea {
......
Supports Markdown
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