mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
fix too long contact name
This commit is contained in:
parent
2af1431c5a
commit
640eaefade
4 changed files with 14 additions and 1 deletions
|
|
@ -183,7 +183,6 @@ ListView {
|
|||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 16 * DefaultStyle.dp
|
||||
z: 1
|
||||
Avatar {
|
||||
|
|
|
|||
|
|
@ -50,6 +50,8 @@ Notification {
|
|||
ColumnLayout {
|
||||
Text {
|
||||
text: call.core.remoteName
|
||||
Layout.fillWidth: true
|
||||
maximumLineCount: 1
|
||||
color: DefaultStyle.grey_600
|
||||
font {
|
||||
pixelSize: 20 * DefaultStyle.dp
|
||||
|
|
|
|||
|
|
@ -92,12 +92,16 @@ MainRightPanel {
|
|||
iconSize: 17 * DefaultStyle.dp
|
||||
backgroundColor: "transparent"
|
||||
text: qsTr("Ajouter une image")
|
||||
color: DefaultStyle.main2_700
|
||||
textSize: 16 * DefaultStyle.dp
|
||||
textWeight: 800 * DefaultStyle.dp
|
||||
KeyNavigation.down: editButton.visible ? editButton : givenNameEdit
|
||||
onClicked: fileDialog.open()
|
||||
},
|
||||
RowLayout {
|
||||
visible: mainItem.contact && mainItem.contact.core.pictureUri.length != 0
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
spacing: 32 * DefaultStyle.dp
|
||||
IconLabelButton {
|
||||
id: editButton
|
||||
Layout.preferredWidth: width
|
||||
|
|
@ -106,6 +110,9 @@ MainRightPanel {
|
|||
iconSize: 17 * DefaultStyle.dp
|
||||
backgroundColor: "transparent"
|
||||
text: qsTr("Modifier")
|
||||
color: DefaultStyle.main2_700
|
||||
textSize: 16 * DefaultStyle.dp
|
||||
textWeight: 800 * DefaultStyle.dp
|
||||
KeyNavigation.right: removeButton
|
||||
onClicked: fileDialog.open()
|
||||
}
|
||||
|
|
@ -128,6 +135,9 @@ MainRightPanel {
|
|||
iconSource: AppIcons.trashCan
|
||||
backgroundColor: "transparent"
|
||||
text: qsTr("Supprimer")
|
||||
color: DefaultStyle.main2_700
|
||||
textSize: 16 * DefaultStyle.dp
|
||||
textWeight: 800 * DefaultStyle.dp
|
||||
KeyNavigation.left: editButton
|
||||
onClicked: mainItem.contact.core.pictureUri = ""
|
||||
}
|
||||
|
|
|
|||
|
|
@ -493,6 +493,8 @@ AbstractMainPage {
|
|||
spacing: 0
|
||||
Text {
|
||||
text: contactDetail.contactName
|
||||
Layout.fillWidth: true
|
||||
maximumLineCount: 1
|
||||
font {
|
||||
pixelSize: 29 * DefaultStyle.dp
|
||||
weight: 800 * DefaultStyle.dp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue