Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
contentItem: UserStatusSelector {
id: userStatusSelector
userStatusSelectorModel: model
- onImplicitHeightChanged: implicitHeight > page.availableHeight ?
- spacing = Style.standardSpacing : spacing = Style.standardSpacing * 2
+ spacing: Style.standardSpacing
}
}
Drawer {\r
id: userStatusDrawer\r
width: parent.width\r
- height: parent.height\r
+ height: parent.height - Style.trayDrawerMargin\r
padding: 0\r
edge: Qt.BottomEdge\r
- modal: false\r
+ modal: true\r
visible: false\r
\r
background: Rectangle {\r
property int trayModalWidth: 380\r
property int trayModalHeight: 490\r
property int trayListItemIconSize: accountAvatarSize\r
+ property int trayDrawerMargin: trayWindowHeaderHeight\r
property real thumbnailImageSizeReduction: 0.2 // We reserve some space within the thumbnail "item", here about 20%.\r
// This is because we need to also add the added/modified icon and we\r
// want them to fit within the general icon size. We also need to know\r