mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-29 01:39:19 +00:00
fix(app): little fixes
This commit is contained in:
parent
b729dfa395
commit
45bd66002f
2 changed files with 6 additions and 5 deletions
|
|
@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue