Commit 6788f33e authored by Ronan's avatar Ronan
Browse files

fix(app): coding style

parent 314899ac
......@@ -64,7 +64,7 @@ QString Presence::getPresenceLevelIconName (const PresenceLevel &level) {
return "led_red";
case White:
return "led_white";
default:
return "";
}
return "";
}
......@@ -113,9 +113,9 @@ ColumnLayout {
Text {
Layout.fillWidth: true
color: ContactsStyle.contact.presenceStringColor
color: ContactsStyle.contact.presence.color
elide: Text.ElideRight
font.pointSize: ContactsStyle.contact.presenceStringFontSize
font.pointSize: ContactsStyle.contact.presence.fontSize
text: Presence.getPresenceStatusAsString($contact.presenceStatus)
}
}
......
......@@ -25,8 +25,6 @@ QtObject {
property int presenceLevelSize: 12
property int rightMargin: 25
property int spacing: 15
property int presenceStringFontSize: 10
property color presenceStringColor: Colors.w
property QtObject backgroundColor: QtObject {
property color normal: Colors.k
......@@ -43,6 +41,11 @@ QtObject {
property int width: 5
}
property QtObject presence: QtObject {
property int fontSize: 10
property color color: Colors.w
}
property QtObject username: QtObject {
property color color: Colors.j
property int fontSize: 9
......
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