mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-04 14:55:43 +02:00
contactpicker: fix margin and label
Change-Id: Idcbefba3765932eb673f3416bf59fdd16e2e3c1d GitLab: #621
This commit is contained in:
parent
5cf6565df8
commit
9f6f6e55ec
3 changed files with 5 additions and 4 deletions
|
@ -212,6 +212,7 @@ Item {
|
||||||
property string resumeCall: qsTr("Resume call")
|
property string resumeCall: qsTr("Resume call")
|
||||||
property string pauseVideo: qsTr("Pause video")
|
property string pauseVideo: qsTr("Pause video")
|
||||||
property string resumeVideo: qsTr("Resume video")
|
property string resumeVideo: qsTr("Resume video")
|
||||||
|
property string addParticipant: qsTr("Add participant")
|
||||||
property string addParticipants: qsTr("Add participants")
|
property string addParticipants: qsTr("Add participants")
|
||||||
property string chat: qsTr("Chat")
|
property string chat: qsTr("Chat")
|
||||||
property string moreOptions: qsTr("More options")
|
property string moreOptions: qsTr("More options")
|
||||||
|
|
|
@ -94,12 +94,11 @@ Popup {
|
||||||
id: contactPickerContactSearchBar
|
id: contactPickerContactSearchBar
|
||||||
|
|
||||||
Layout.alignment: Qt.AlignCenter
|
Layout.alignment: Qt.AlignCenter
|
||||||
Layout.topMargin: 5
|
Layout.margins: 5
|
||||||
Layout.bottomMargin: 5
|
Layout.fillWidth: true
|
||||||
Layout.preferredWidth: implicitWidth
|
|
||||||
Layout.preferredHeight: 35
|
Layout.preferredHeight: 35
|
||||||
|
|
||||||
implicitWidth: contactPickerPopupRect.width - 10
|
placeHolderText: JamiStrings.addParticipant
|
||||||
|
|
||||||
onContactSearchBarTextChanged: {
|
onContactSearchBarTextChanged: {
|
||||||
ContactAdapter.setSearchFilter(text)
|
ContactAdapter.setSearchFilter(text)
|
||||||
|
|
|
@ -31,6 +31,7 @@ Rectangle {
|
||||||
signal returnPressedWhileSearching
|
signal returnPressedWhileSearching
|
||||||
|
|
||||||
property alias textContent: contactSearchBar.text
|
property alias textContent: contactSearchBar.text
|
||||||
|
property alias placeHolderText: contactSearchBar.placeholderText
|
||||||
|
|
||||||
function clearText() {
|
function clearText() {
|
||||||
contactSearchBar.clear()
|
contactSearchBar.clear()
|
||||||
|
|
Loading…
Add table
Reference in a new issue