Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-desktop
Commits
45bd6600
Commit
45bd6600
authored
Sep 14, 2016
by
Ronan
Browse files
fix(app): little fixes
parent
b729dfa3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
tests/ui/components/contact/Avatar.qml
tests/ui/components/contact/Avatar.qml
+4
-3
tests/ui/views/mainWindow/contacts.qml
tests/ui/views/mainWindow/contacts.qml
+2
-2
No files found.
tests/ui/components/contact/Avatar.qml
View file @
45bd6600
...
...
@@ -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
'
...
...
tests/ui/views/mainWindow/contacts.qml
View file @
45bd6600
...
...
@@ -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
'
)
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment