fix(ui/views/App/Calls/EndedCall): test call and coding style

This commit is contained in:
Wescoeur 2017-05-12 02:29:50 +02:00
parent fa1626993e
commit 40a929a0f9
2 changed files with 9 additions and 10 deletions

View file

@ -77,15 +77,14 @@ Rectangle {
Layout.preferredHeight: CallStyle.actionArea.height
Text {
width: parent.width
color: CallStyle.header.reason.color
font.pointSize: CallStyle.header.reason.fontSize
color: CallStyle.actionArea.callError.color
font.pointSize: CallStyle.actionArea.callError.fontSize
horizontalAlignment: Text.AlignHCenter
width: parent.width
text: {
var call = endedCall.call
return call.reason
return call ? call.reason : ''
}
}
}

View file

@ -23,6 +23,11 @@ QtObject {
property QtObject vu: QtObject {
property int spacing: 5
}
property QtObject callError: QtObject {
property color color: Colors.i
property int fontSize: 12
}
}
property QtObject container: QtObject {
@ -70,10 +75,5 @@ QtObject {
property QtObject stats: QtObject {
property int relativeY: 90
}
property QtObject reason: QtObject {
property color color: Colors.i
property int fontSize: 12
}
}
}