diff options
author | Felix Weilbach <felix.weilbach@nextcloud.com> | 2021-10-14 14:07:27 +0300 |
---|---|---|
committer | allexzander (Rebase PR Action) <allexzander@users.noreply.github.com> | 2022-01-17 14:11:57 +0300 |
commit | 99457e8c38f56cfdf86a401545dd8c81ff15d4e4 (patch) | |
tree | 0f1780ae7e812f2553e8e4a9b775791e1354277d /src/gui/tray | |
parent | f21d064b4f242810cd3ecac2536527df12f99c57 (diff) |
Use the font size that Qt suggest
Fixes: https://github.com/nextcloud/desktop/issues/3797
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Diffstat (limited to 'src/gui/tray')
-rw-r--r-- | src/gui/tray/ActivityItem.qml | 2 | ||||
-rw-r--r-- | src/gui/tray/UserLine.qml | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/gui/tray/ActivityItem.qml b/src/gui/tray/ActivityItem.qml index 9fa4f8ccc..598ae3b76 100644 --- a/src/gui/tray/ActivityItem.qml +++ b/src/gui/tray/ActivityItem.qml @@ -216,7 +216,7 @@ MouseArea { anchors.right: moreActionsButton.right anchors.top: moreActionsButton.top - Menu { + AutoSizingMenu { id: moreActionsButtonContextMenu anchors.centerIn: parent diff --git a/src/gui/tray/UserLine.qml b/src/gui/tray/UserLine.qml index ecdc6792a..442dc1f58 100644 --- a/src/gui/tray/UserLine.qml +++ b/src/gui/tray/UserLine.qml @@ -111,14 +111,12 @@ MenuItem { width: parent.width
Label {
id: emoji
- height: Style.topLinePixelSize
visible: model.statusEmoji !== ""
text: statusEmoji
topPadding: -Style.accountLabelsSpacing
}
Label {
id: message
- height: Style.topLinePixelSize
width: parent.width - parent.spacing - emoji.width
visible: model.statusMessage !== ""
text: statusMessage
@@ -169,9 +167,8 @@ MenuItem { y: userMoreButton.y + 1
}
- Menu {
+ AutoSizingMenu {
id: userMoreButtonMenu
- width: 120
closePolicy: Menu.CloseOnPressOutsideParent | Menu.CloseOnEscape
background: Rectangle {
|