ngraham added a comment.
Cool! Does this still work properly when the text is so long that the button expands to accommodate it? Now that I think about this a bit, it seems like maybe the problem here is that there's a minimum button width in the first place. If we changed that so that buttons could be narrower when the icon + label is small, than we probably wouldn't need to horizontally center anything. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D17355 To: GB_2, #plasma, #vdg Cc: ngraham, #vdg, kde-frameworks-devel, #plasma, alexde, IohannesPetros, trickyricky26, ragreen, Pitel, michaelh, crozbo, ndavis, ZrenBot, firef, bruns, skadinna, lesliezhai, ali-mohamed, jensreuterberg, aaronhoneycutt, abetts, sebas, apol, mbohlender, mart