parent
326e9e09a5
commit
eaed074957
|
@ -30,6 +30,8 @@ SettingsContentBase {
|
||||||
|
|
||||||
headerComponents: [
|
headerComponents: [
|
||||||
StatusButton {
|
StatusButton {
|
||||||
|
implicitHeight: 38
|
||||||
|
size: StatusBaseButton.Size.Normal
|
||||||
text: qsTr("Send contact request to chat key")
|
text: qsTr("Send contact request to chat key")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
sendContactRequest.open()
|
sendContactRequest.open()
|
||||||
|
@ -65,6 +67,7 @@ SettingsContentBase {
|
||||||
SearchBox {
|
SearchBox {
|
||||||
id: searchBox
|
id: searchBox
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
anchors.leftMargin: Style.current.padding
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
placeholderText: qsTr("Search by a display name or chat key")
|
placeholderText: qsTr("Search by a display name or chat key")
|
||||||
}
|
}
|
||||||
|
@ -74,10 +77,11 @@ SettingsContentBase {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: searchBox.bottom
|
anchors.top: searchBox.bottom
|
||||||
anchors.topMargin: (2 * Style.current.padding)
|
anchors.topMargin: Style.current.padding
|
||||||
|
|
||||||
StatusTabButton {
|
StatusTabButton {
|
||||||
id: contactsBtn
|
id: contactsBtn
|
||||||
|
leftPadding: Style.current.padding
|
||||||
width: implicitWidth
|
width: implicitWidth
|
||||||
text: qsTr("Contacts")
|
text: qsTr("Contacts")
|
||||||
}
|
}
|
||||||
|
@ -110,10 +114,12 @@ SettingsContentBase {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: contactsTabBar.bottom
|
anchors.top: contactsTabBar.bottom
|
||||||
|
anchors.topMargin: Style.current.smallPadding
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
currentIndex: contactsTabBar.currentIndex
|
currentIndex: contactsTabBar.currentIndex
|
||||||
// CONTACTS
|
// CONTACTS
|
||||||
Column {
|
Column {
|
||||||
|
spacing: Style.current.padding
|
||||||
ContactsListPanel {
|
ContactsListPanel {
|
||||||
id: verifiedContacts
|
id: verifiedContacts
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
|
@ -82,7 +82,7 @@ Item {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.top: topHeader.bottom
|
anchors.top: topHeader.bottom
|
||||||
anchors.leftMargin: Style.current.padding
|
anchors.leftMargin: Style.current.padding
|
||||||
width: root.contentWidth - 2 * Style.current.padding
|
width: root.contentWidth - Style.current.padding
|
||||||
height: d.titleRowHeight
|
height: d.titleRowHeight
|
||||||
visible: root.sectionTitle !== ""
|
visible: root.sectionTitle !== ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue