apol created this revision. apol added reviewers: Kirigami, mart. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. apol requested review of this revision.
REVISION SUMMARY Have MenuItem get the width of the parent instead of needing to specify it every time. This fixes an issue where MenuItem is used from Kirigami.ActionsMenuItem where it would sometimes not take the whole width. See bug. BUG: 401792 REPOSITORY R858 Qt Quick Controls 2: Desktop Style BRANCH master REVISION DETAIL https://phabricator.kde.org/D17484 AFFECTED FILES org.kde.desktop/Menu.qml org.kde.desktop/MenuItem.qml To: apol, #kirigami, mart Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart