mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-08 20:56:39 +00:00
- removed nested ListViews inside StackLayouts, in order to reduce the memory footprint and improve performance, and also to be able to better manage the scrolling - no more unrolled multiple listviews, which again hurt the performance; now the views instantiate the delegates dynamically on the fly - the tab bar and the search fields now stick to the top of the page, with the users list view scrolling independently - both views now uniformly use the common `ContactListItemDelegate` - the received/sent CRs are now combined into one `pendingContacts` model - factored out common search/filter criteria into a new, separate SFPM `UserFilterContainer` component - fix an issue where StatusContactVerificationIcons wasn't properly displaying the "blocked" state/icon - fix documentation comments, removed relative imports, and updated some Fixes #16612 Fixes #16958
44 lines
960 B
QML
44 lines
960 B
QML
import QtQuick 2.15
|
|
|
|
import StatusQ.Controls 0.1
|
|
|
|
Item {
|
|
id: root
|
|
|
|
Rectangle {
|
|
width: tabbar.childrenRect.width
|
|
height: tabbar.childrenRect.height
|
|
anchors.centerIn: parent
|
|
color: "transparent"
|
|
border.width: 1
|
|
border.color: "pink"
|
|
|
|
StatusTabBar {
|
|
id: tabbar
|
|
anchors.centerIn: parent
|
|
|
|
StatusTabButton {
|
|
width: implicitWidth
|
|
text: "Contacts"
|
|
}
|
|
StatusTabButton {
|
|
width: implicitWidth
|
|
text: "Pending contacts"
|
|
badge.value: 2
|
|
}
|
|
StatusTabButton {
|
|
width: implicitWidth
|
|
enabled: false
|
|
text: "Blocked & disabled"
|
|
}
|
|
StatusTabButton {
|
|
width: implicitWidth
|
|
text: "Misc"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// category: Controls
|
|
// status: good
|