File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ AbstractButton {
7171 Layout .fillHeight : true
7272 Layout .alignment : Qt .AlignVCenter
7373 spacing: 8
74- anchors .leftMargin : 12
74+
75+ Item { width: Style .nmcMenuSubItemLeftPadding }
7576
7677 Image {
7778 id: accountIcon
@@ -189,6 +190,7 @@ AbstractButton {
189190 text: qsTr (" Set status" )
190191 font .pixelSize : Style .topLinePixelSize
191192 hoverEnabled: true
193+ height: visible ? implicitHeight : 0
192194
193195 onClicked: showUserStatusSelector (index)
194196
@@ -204,6 +206,7 @@ AbstractButton {
204206 text: qsTr (" Status message" )
205207 font .pixelSize : Style .topLinePixelSize
206208 hoverEnabled: true
209+ height: visible ? implicitHeight : 0
207210
208211 onClicked: showUserStatusMessageSelector (index)
209212
@@ -240,7 +243,7 @@ AbstractButton {
240243 id: removeAccountButton
241244 text: model .removeAccountText
242245 height: Style .nmcMenuSubItemHeight
243- icon .source : Style .nmcLogOutIcon
246+ icon .source : Style .nmcRemoveIcon
244247 icon .height : Style .nmcTrayWindowIconWidth
245248 icon .width : Style .nmcTrayWindowIconWidth
246249 leftPadding: Style .nmcMenuSubItemLeftPadding
You can’t perform that action at this time.
0 commit comments