Commit 40a929a0 authored by Wescoeur's avatar Wescoeur
Browse files

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

parent fa162699
...@@ -77,15 +77,14 @@ Rectangle { ...@@ -77,15 +77,14 @@ Rectangle {
Layout.preferredHeight: CallStyle.actionArea.height Layout.preferredHeight: CallStyle.actionArea.height
Text { Text {
width: parent.width color: CallStyle.actionArea.callError.color
font.pointSize: CallStyle.actionArea.callError.fontSize
color: CallStyle.header.reason.color
font.pointSize: CallStyle.header.reason.fontSize
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
width: parent.width
text: { text: {
var call = endedCall.call var call = endedCall.call
return call.reason return call ? call.reason : ''
} }
} }
} }
......
...@@ -23,6 +23,11 @@ QtObject { ...@@ -23,6 +23,11 @@ QtObject {
property QtObject vu: QtObject { property QtObject vu: QtObject {
property int spacing: 5 property int spacing: 5
} }
property QtObject callError: QtObject {
property color color: Colors.i
property int fontSize: 12
}
} }
property QtObject container: QtObject { property QtObject container: QtObject {
...@@ -70,10 +75,5 @@ QtObject { ...@@ -70,10 +75,5 @@ QtObject {
property QtObject stats: QtObject { property QtObject stats: QtObject {
property int relativeY: 90 property int relativeY: 90
} }
property QtObject reason: QtObject {
property color color: Colors.i
property int fontSize: 12
}
} }
} }
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