davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. davidedmundson requested review of this revision.
REVISION SUMMARY We always want the label to have the width managed by the layout to fill all available space. TEST PLAN In tests/components/button3.qml the test "long text but constrained, should be 150px and elided" now is correctly elided rather than the text spewing past the end of the button. The text does not overlap the icon. REPOSITORY R242 Plasma Framework (Library) BRANCH origin-master (branched from master) REVISION DETAIL https://phabricator.kde.org/D24909 AFFECTED FILES src/declarativeimports/plasmacomponents3/Button.qml To: davidedmundson, #plasma Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns