Commit 54f28831 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ui/views/App/Main/ContactEdit): display correctly background color

parent 3e6d15f5
...@@ -215,15 +215,20 @@ ColumnLayout { ...@@ -215,15 +215,20 @@ ColumnLayout {
// Info list. // Info list.
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
Loader { Rectangle {
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
color: ContactEditStyle.content.color
Loader {
anchors.fill: parent
active: _vcard != null active: _vcard != null
sourceComponent: Flickable { sourceComponent: Flickable {
id: flick id: flick
// ----------------------------------------------------------------------- // ---------------------------------------------------------------------
function _handleSipAddressChanged (index, defaultValue, newValue) { function _handleSipAddressChanged (index, defaultValue, newValue) {
if (newValue === defaultValue) { if (newValue === defaultValue) {
...@@ -280,7 +285,7 @@ ColumnLayout { ...@@ -280,7 +285,7 @@ ColumnLayout {
} }
} }
// ----------------------------------------------------------------------- // ---------------------------------------------------------------------
ScrollBar.vertical: ForceScrollBar {} ScrollBar.vertical: ForceScrollBar {}
...@@ -290,7 +295,7 @@ ColumnLayout { ...@@ -290,7 +295,7 @@ ColumnLayout {
contentWidth: width - ScrollBar.vertical.width contentWidth: width - ScrollBar.vertical.width
flickableDirection: Flickable.VerticalFlick flickableDirection: Flickable.VerticalFlick
// ----------------------------------------------------------------------- // ---------------------------------------------------------------------
Connections { Connections {
target: _vcard target: _vcard
...@@ -303,12 +308,7 @@ ColumnLayout { ...@@ -303,12 +308,7 @@ ColumnLayout {
} }
} }
// ----------------------------------------------------------------------- // ---------------------------------------------------------------------
Rectangle {
anchors.fill: parent
color: ContactEditStyle.content.color
}
ColumnLayout { ColumnLayout {
id: infoList id: infoList
...@@ -431,9 +431,9 @@ ColumnLayout { ...@@ -431,9 +431,9 @@ ColumnLayout {
onChanged: _handleAddressChanged(index, value) onChanged: _handleAddressChanged(index, value)
} }
// --------------------------------------------------------------------- // -------------------------------------------------------------------
// Edition buttons. // Edition buttons.
// --------------------------------------------------------------------- // -------------------------------------------------------------------
Row { Row {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
...@@ -457,4 +457,5 @@ ColumnLayout { ...@@ -457,4 +457,5 @@ ColumnLayout {
} }
} }
} }
}
} }
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