Commit e1d7b7bf authored by Ronan Abhamon's avatar Ronan Abhamon

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

parent d35ca30b
...@@ -23,6 +23,11 @@ ColumnLayout { ...@@ -23,6 +23,11 @@ ColumnLayout {
spacing: 0 spacing: 0
Rectangle {
anchors.fill: parent
color: ChatStyle.color
}
ScrollableListView { ScrollableListView {
id: chat id: chat
...@@ -171,6 +176,7 @@ ColumnLayout { ...@@ -171,6 +176,7 @@ ColumnLayout {
ChatStyle.entry.message.extraContent.leftMargin + ChatStyle.entry.message.extraContent.leftMargin +
ChatStyle.entry.message.outgoing.sendIconSize ChatStyle.entry.message.outgoing.sendIconSize
} }
color: ChatStyle.color
implicitHeight: layout.height + ChatStyle.entry.bottomMargin implicitHeight: layout.height + ChatStyle.entry.bottomMargin
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
......
...@@ -6,6 +6,8 @@ import Common 1.0 ...@@ -6,6 +6,8 @@ import Common 1.0
// ============================================================================= // =============================================================================
QtObject { QtObject {
property color color: Colors.k
property QtObject sectionHeading: QtObject { property QtObject sectionHeading: QtObject {
property int padding: 5 property int padding: 5
property int bottomMargin: 20 property int bottomMargin: 20
......
...@@ -277,6 +277,11 @@ ColumnLayout { ...@@ -277,6 +277,11 @@ ColumnLayout {
contentWidth: width - ScrollBar.vertical.width contentWidth: width - ScrollBar.vertical.width
flickableDirection: Flickable.VerticalFlick flickableDirection: Flickable.VerticalFlick
Rectangle {
anchors.fill: parent
color: ContactEditStyle.content.color
}
SmartConnect { SmartConnect {
Component.onCompleted: this.connect(_vcard, 'onVcardUpdated', function () { Component.onCompleted: this.connect(_vcard, 'onVcardUpdated', function () {
addresses.setData(_vcard.sipAddresses) addresses.setData(_vcard.sipAddresses)
......
...@@ -6,6 +6,11 @@ import Common 1.0 ...@@ -6,6 +6,11 @@ import Common 1.0
// ============================================================================= // =============================================================================
QtObject { QtObject {
property QtObject buttons: QtObject {
property int spacing: 20
property int topMargin: 20
}
property QtObject infoBar: QtObject { property QtObject infoBar: QtObject {
property color color: Colors.e property color color: Colors.e
property int avatarSize: 60 property int avatarSize: 60
...@@ -25,9 +30,8 @@ QtObject { ...@@ -25,9 +30,8 @@ QtObject {
} }
} }
property QtObject buttons: QtObject { property QtObject content: QtObject {
property int spacing: 20 property color color: Colors.k
property int topMargin: 20
} }
property QtObject values: QtObject { property QtObject values: QtObject {
......
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