Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
e9071f4c
Commit
e9071f4c
authored
Jun 12, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ui/views/App/Calls/IncallAvatar): remove tabs
parent
f0edd36f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
IncallAvatar.qml
linphone-desktop/ui/views/App/Calls/IncallAvatar.qml
+23
-23
No files found.
linphone-desktop/ui/views/App/Calls/IncallAvatar.qml
View file @
e9071f4c
...
...
@@ -8,35 +8,35 @@ import App.Styles 1.0
// =============================================================================
Avatar
{
property
var
call
property
var
call
readonly
property
var
_sipAddressObserver
:
SipAddressesModel
.
getSipAddressObserver
(
call
.
sipAddress
)
readonly
property
var
_username
:
LinphoneUtils
.
getContactUsername
(
_sipAddressObserver
.
contact
||
call
.
sipAddress
)
readonly
property
var
_sipAddressObserver
:
SipAddressesModel
.
getSipAddressObserver
(
call
.
sipAddress
)
readonly
property
var
_username
:
LinphoneUtils
.
getContactUsername
(
_sipAddressObserver
.
contact
||
call
.
sipAddress
)
backgroundColor
:
CallStyle
.
container
.
avatar
.
backgroundColor
foregroundColor
:
call
.
status
===
CallModel
.
CallStatusPaused
?
CallStyle
.
container
.
pause
.
color
:
'
transparent
'
backgroundColor
:
CallStyle
.
container
.
avatar
.
backgroundColor
foregroundColor
:
call
.
status
===
CallModel
.
CallStatusPaused
?
CallStyle
.
container
.
pause
.
color
:
'
transparent
'
image
:
{
var
contact
=
_sipAddressObserver
.
contact
return
contact
&&
contact
.
vcard
.
avatar
}
image
:
{
var
contact
=
_sipAddressObserver
.
contact
return
contact
&&
contact
.
vcard
.
avatar
}
username
:
call
.
status
===
CallModel
.
CallStatusPaused
?
''
:
_username
username
:
call
.
status
===
CallModel
.
CallStatusPaused
?
''
:
_username
Text
{
anchors.fill
:
parent
color
:
CallStyle
.
container
.
pause
.
text
.
color
Text
{
anchors.fill
:
parent
color
:
CallStyle
.
container
.
pause
.
text
.
color
// `|| 1` => `pointSize` must be greater than 0.
font.pointSize
:
(
width
/
CallStyle
.
container
.
pause
.
text
.
pointSizeFactor
)
||
1
// `|| 1` => `pointSize` must be greater than 0.
font.pointSize
:
(
width
/
CallStyle
.
container
.
pause
.
text
.
pointSizeFactor
)
||
1
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
text
:
'
▐ ▌
'
textFormat
:
Text
.
RichText
visible
:
call
.
status
===
CallModel
.
CallStatusPaused
}
text
:
'
▐ ▌
'
textFormat
:
Text
.
RichText
visible
:
call
.
status
===
CallModel
.
CallStatusPaused
}
}
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