apol added inline comments.
INLINE COMMENTS
> MenuItem.qml:98
> + font: controlRoot.font
> + color: (controlRoot.highlighted || controlRoot.hovered) ?
> Kirigami.Theme.highlightedTextColor : Kirigami.Theme.textColor
> + horizontalAlignment: Text.AlignRight
label.color?
> MenuItem.qml:103
> + Item {
> + Layout.preferredWidth: Kirigami.Units.smallSpacing
> + }
Use Layout.rightMargin on the shortcut object.
https://doc.qt.io/qt-5/qml-qtquick-layouts-layout.html#rightMargin-attached-prop
REPOSITORY
R858 Qt Quick Controls 2: Desktop Style
BRANCH
menu_item
REVISION DETAIL
https://phabricator.kde.org/D21944
To: astippich, mart, ngraham
Cc: apol, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen,
Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts,
sebas, mart