Commit e1d7b7bf authored by Ronan's avatar Ronan
Browse files

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

parent d35ca30b
......@@ -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
// -----------------------------------------------------------------------
......
......@@ -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
......
......@@ -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)
......
......@@ -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 {
......
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