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 ...@@ -7,50 +7,50 @@ import Linphone.Styles 1.0
// =================================================================== // ===================================================================
ColumnLayout { ColumnLayout {
id: item 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
}
}
// Separator. property var model
Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: TimelineStyle.separator.height
color: TimelineStyle.separator.color
}
// History. // Legend.
ScrollableListView { Row {
Layout.fillHeight: true Layout.bottomMargin: TimelineStyle.legend.bottomMargin
Layout.fillWidth: true 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 { Text {
presence: $presence color: TimelineStyle.legend.color
sipAddress: $sipAddress font.pointSize: TimelineStyle.legend.fontSize
username: $username height: parent.height
width: parent.width 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