Commit 20ec85a0 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/views/App/MainWindow/ContactEdit): display correctly inputs (no overflow)

parent ab7a8659
......@@ -18,6 +18,12 @@ Item {
// -----------------------------------------------------------------
onActiveFocusChanged: {
if (activeFocus) {
textInput.focus = true
}
}
Rectangle {
anchors.fill: parent
color: textInput.activeFocus && !readOnly
......
......@@ -145,6 +145,8 @@ ColumnLayout {
// -----------------------------------------------------------------
Flickable {
id: flick
Layout.fillHeight: true
Layout.fillWidth: true
ScrollBar.vertical: ForceScrollBar {}
......@@ -152,18 +154,17 @@ ColumnLayout {
boundsBehavior: Flickable.StopAtBounds
clip: true
contentHeight: infoList.height
contentWidth: width - ScrollBar.vertical.width - leftMargin - rightMargin
flickableDirection: Flickable.VerticalFlick
leftMargin: 40
rightMargin: 40
rightMargin: 20
topMargin: 40
ColumnLayout {
id: infoList
anchors.left: parent.left
anchors.right: parent.right
width: flick.contentWidth
ListForm {
defaultData: _contact.sipAddresses
placeholder: qsTr('sipAccountsInput')
......
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