mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +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
|
|
@ -30,6 +30,10 @@ Item {
|
|||
property bool showBorder : false
|
||||
|
||||
property alias capitalization : button.capitalization
|
||||
|
||||
//Additional size around text
|
||||
property int addHeight: 25
|
||||
property int addWidth: 60
|
||||
|
||||
signal clicked
|
||||
|
||||
|
|
@ -67,8 +71,8 @@ Item {
|
|||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
height: button.contentItem.implicitHeight + 25
|
||||
width: button.contentItem.implicitWidth + 60
|
||||
height: button.contentItem.implicitHeight + addHeight
|
||||
width: button.contentItem.implicitWidth + addWidth
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
TextButtonB {
|
||||
addHeight: 15
|
||||
text: qsTr('addContact')
|
||||
onClicked: window.setView('ContactEdit')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue