Fix menu item width when the delegate is overriden
ClosedPublic

Authored by apol on Dec 10 2018, 3:46 PM.

Details

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

Diff Detail

Repository
R858 Qt Quick Controls 2: Desktop Style
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 5896
Build 5914: arc lint + arc unit
apol created this revision.Dec 10 2018, 3:46 PM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 10 2018, 3:46 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol requested review of this revision.Dec 10 2018, 3:46 PM
mart accepted this revision.Dec 10 2018, 3:49 PM
This revision is now accepted and ready to land.Dec 10 2018, 3:49 PM
apol closed this revision.Dec 10 2018, 3:51 PM