Commit 45bd6600 authored by Ronan's avatar Ronan
Browse files

fix(app): little fixes

parent b729dfa3
......@@ -8,10 +8,11 @@ Item {
property string presence
property string username
// Image mask. (Circle)
Rectangle {
anchors.fill: parent
color: '#8F8F8F'
id: avatar
id: mask
radius: 50
}
......@@ -44,7 +45,7 @@ Item {
// Avatar.
OpacityMask {
anchors.fill: imageToFilter
maskSource: avatar
maskSource: mask
source: imageToFilter
}
......@@ -53,7 +54,7 @@ Item {
anchors.bottom: parent.bottom
anchors.right: parent.right
fillMode: Image.PreserveAspectFit
height: parent.height/ 3
height: parent.height / 3
id: presenceImage
source: presence
? 'qrc:/imgs/led_' + presence + '.svg'
......
......@@ -58,7 +58,7 @@ ColumnLayout {
boundsBehavior: Flickable.StopAtBounds
clip: true
highlightRangeMode: ListView.ApplyRange
spacing: 1
spacing: 2
// TODO: Remove, use C++ model instead.
model: ListModel {
......@@ -233,7 +233,7 @@ ColumnLayout {
ActionButton {
iconSize: parent.height
icon: 'delete'
onClicked: console.log('toto')
onClicked: console.log('action: delete')
}
}
}
......
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