gvgeo added a comment.
On second thought, maybe it was fine. `Layout.preferredWidth` should not have any effect when icon is not visible anyway. And negative value could be set if needed. REPOSITORY R242 Plasma Framework (Library) BRANCH fix-pc3-toolbutton-sizing (branched from master) REVISION DETAIL https://phabricator.kde.org/D27221 To: ngraham, #vdg, #plasma, broulik, ndavis Cc: gvgeo, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns