mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-25 23:58:37 +00:00
Reduce height of add contact button in contacts view.
This commit is contained in:
parent
4a7118d57c
commit
c82b2b8a36
2 changed files with 7 additions and 2 deletions
|
|
@ -31,6 +31,10 @@ Item {
|
||||||
|
|
||||||
property alias capitalization : button.capitalization
|
property alias capitalization : button.capitalization
|
||||||
|
|
||||||
|
//Additional size around text
|
||||||
|
property int addHeight: 25
|
||||||
|
property int addWidth: 60
|
||||||
|
|
||||||
signal clicked
|
signal clicked
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
@ -67,8 +71,8 @@ Item {
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
height: button.contentItem.implicitHeight + 25
|
height: button.contentItem.implicitHeight + addHeight
|
||||||
width: button.contentItem.implicitWidth + 60
|
width: button.contentItem.implicitWidth + addWidth
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
TextButtonB {
|
TextButtonB {
|
||||||
|
addHeight: 15
|
||||||
text: qsTr('addContact')
|
text: qsTr('addContact')
|
||||||
onClicked: window.setView('ContactEdit')
|
onClicked: window.setView('ContactEdit')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue