Commit 805bdd71 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(app): little fixes on style

parent f1a4e1f5
......@@ -7,50 +7,50 @@ import Linphone.Styles 1.0
// ===================================================================
ColumnLayout {
id: item
property var model
// Legend.
Row {
Layout.topMargin: TimelineStyle.legend.topMargin
Layout.bottomMargin: TimelineStyle.legend.bottomMargin
Layout.leftMargin: TimelineStyle.legend.leftMargin
spacing: TimelineStyle.legend.spacing
Icon {
icon: TimelineStyle.legend.icon
iconSize: TimelineStyle.legend.iconSize
}
Text {
color: TimelineStyle.legend.color
font.pointSize: TimelineStyle.legend.fontSize
height: parent.height
text: qsTr('timelineTitle')
verticalAlignment: Text.AlignVCenter
}
}
id: item
// Separator.
Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: TimelineStyle.separator.height
color: TimelineStyle.separator.color
}
property var model
// History.
ScrollableListView {
Layout.fillHeight: true
Layout.fillWidth: true
// Legend.
Row {
Layout.bottomMargin: TimelineStyle.legend.bottomMargin
Layout.leftMargin: TimelineStyle.legend.leftMargin
Layout.topMargin: TimelineStyle.legend.topMargin
spacing: TimelineStyle.legend.spacing
model: item.model
Icon {
icon: TimelineStyle.legend.icon
iconSize: TimelineStyle.legend.iconSize
}
delegate: Contact {
presence: $presence
sipAddress: $sipAddress
username: $username
width: parent.width
}
Text {
color: TimelineStyle.legend.color
font.pointSize: TimelineStyle.legend.fontSize
height: parent.height
text: qsTr('timelineTitle')
verticalAlignment: Text.AlignVCenter
}
}
// Separator.
Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: TimelineStyle.separator.height
color: TimelineStyle.separator.color
}
// History.
ScrollableListView {
Layout.fillHeight: true
Layout.fillWidth: true
model: item.model
delegate: Contact {
presence: $presence
sipAddress: $sipAddress
username: $username
width: parent.width
}
}
}
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