mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-29 17:59:21 +00:00
fix(ui/views/App/MainWindow/ContactEdit): display correctly inputs (no overflow)
This commit is contained in:
parent
ab7a8659dc
commit
20ec85a029
2 changed files with 11 additions and 4 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue