fix(app): fix background colors of Chat/ContactEdit

This commit is contained in:
Ronan Abhamon 2017-02-15 11:01:17 +01:00
parent d35ca30b66
commit e1d7b7bf9c
4 changed files with 20 additions and 3 deletions

View file

@ -23,6 +23,11 @@ ColumnLayout {
spacing: 0
Rectangle {
anchors.fill: parent
color: ChatStyle.color
}
ScrollableListView {
id: chat
@ -171,6 +176,7 @@ ColumnLayout {
ChatStyle.entry.message.extraContent.leftMargin +
ChatStyle.entry.message.outgoing.sendIconSize
}
color: ChatStyle.color
implicitHeight: layout.height + ChatStyle.entry.bottomMargin
// -----------------------------------------------------------------------

View file

@ -6,6 +6,8 @@ import Common 1.0
// =============================================================================
QtObject {
property color color: Colors.k
property QtObject sectionHeading: QtObject {
property int padding: 5
property int bottomMargin: 20

View file

@ -277,6 +277,11 @@ ColumnLayout {
contentWidth: width - ScrollBar.vertical.width
flickableDirection: Flickable.VerticalFlick
Rectangle {
anchors.fill: parent
color: ContactEditStyle.content.color
}
SmartConnect {
Component.onCompleted: this.connect(_vcard, 'onVcardUpdated', function () {
addresses.setData(_vcard.sipAddresses)

View file

@ -6,6 +6,11 @@ import Common 1.0
// =============================================================================
QtObject {
property QtObject buttons: QtObject {
property int spacing: 20
property int topMargin: 20
}
property QtObject infoBar: QtObject {
property color color: Colors.e
property int avatarSize: 60
@ -25,9 +30,8 @@ QtObject {
}
}
property QtObject buttons: QtObject {
property int spacing: 20
property int topMargin: 20
property QtObject content: QtObject {
property color color: Colors.k
}
property QtObject values: QtObject {