File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,16 @@ Pane {
7070 id: notificationButton
7171 spacing: folderSyncPanel .spacing
7272
73+ text: accountSettings .notifications .length
74+ icon .source : OpenCloud .resourcePath (" fontawesome" , " " , enabled)
75+ icon .color : " transparent"
76+ Layout .preferredHeight : manageAccountButton .implicitHeight
77+ // TODO: this is a hack to force our icon engine to not use rediculess dpi scaling
78+ // https://github.com/opencloud-eu/desktop/issues/142
79+ icon .height : 0
80+ icon .width : 0
81+
82+
7383 Dialog {
7484 id: notificationPopup
7585 width: 300
@@ -93,12 +103,6 @@ Pane {
93103 }
94104 }
95105
96- text: accountSettings .notifications .length
97- icon .source : OpenCloud .resourcePath (" fontawesome" , " " , enabled)
98- icon .color : " transparent"
99- icon .height : 16
100- icon .width : 16
101-
102106 onClicked: notificationPopup .open ()
103107
104108 Keys .onBacktabPressed : {
You can’t perform that action at this time.
0 commit comments