fix(StatusPopupMenu): ensure menu items elide
This commit is contained in:
parent
8038a27ca4
commit
f5a5e1ae8c
|
@ -85,6 +85,8 @@ Menu {
|
||||||
|
|
||||||
contentItem: StatusBaseText {
|
contentItem: StatusBaseText {
|
||||||
anchors.left: statusPopupMenuItem.indicator.right
|
anchors.left: statusPopupMenuItem.indicator.right
|
||||||
|
anchors.right: arrowIcon.visible ? arrowIcon.left : arrowIcon.right
|
||||||
|
anchors.rightMargin: 8
|
||||||
anchors.leftMargin: 4
|
anchors.leftMargin: 4
|
||||||
|
|
||||||
horizontalAlignment: Text.AlignLeft
|
horizontalAlignment: Text.AlignLeft
|
||||||
|
@ -106,6 +108,7 @@ Menu {
|
||||||
}
|
}
|
||||||
|
|
||||||
arrow: StatusIcon {
|
arrow: StatusIcon {
|
||||||
|
id: arrowIcon
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: 8
|
anchors.rightMargin: 8
|
||||||
|
|
Loading…
Reference in New Issue