Skip to content
Snippets Groups Projects
Commit 416417d1 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

contactmessagedelegate: fix placement on resize

Change-Id: Icd84dcc248ee0097546a23eed03f4b1379337d0e
GitLab: #1268
parent 36a36dad
No related branches found
No related tags found
No related merge requests found
......@@ -34,12 +34,12 @@ Column {
property alias messageToSend: textLabel.text
width: ListView.view ? ListView.view.width : 0
height: timestampItem.height + textLabel.height
spacing: 0
ColumnLayout {
Item {
anchors.horizontalCenter: parent.horizontalCenter
width: parent.width
spacing: 0
height: timestampItem.height + textLabel.height
TimestampInfo {
id: timestampItem
......@@ -48,14 +48,18 @@ Column {
showTime: root.showTime
formattedTime: root.formattedTime
formattedDay: root.formattedDay
Layout.alignment: Qt.AlignHCenter
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
}
Label {
id: textLabel
Layout.alignment: Qt.AlignCenter
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: timestampItem.bottom
text: Body
horizontalAlignment: Qt.AlignHCenter
font.pointSize: JamiTheme.smallFontSize
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment