mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
fix(app): fix background colors of Chat/ContactEdit
This commit is contained in:
parent
d35ca30b66
commit
e1d7b7bf9c
4 changed files with 20 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue