ngraham created this revision. ngraham added reviewers: Kirigami, VDG, mart. Herald added a project: Kirigami. Herald added a subscriber: plasma-devel. ngraham requested review of this revision.
REVISION SUMMARY This patch implements an optional and off-by-default feature to center the actions and omit the title when displaying the ToolBar style. This is useful for simple desktop apps that don't need to display a title in the toolbar, where centered toolbuttons look better than right-aligned toolbuttons. FEATURE: 404203 CCBUG: 402948 FIXED-IN: 5.63 TEST PLAN Apply this patch to Kirigami then run Kamoso after applying DXXXXXX Before: F7338499: Before.png <https://phabricator.kde.org/F7338499> After: F7338498: After.png <https://phabricator.kde.org/F7338498> REPOSITORY R169 Kirigami BRANCH optional-centered-actions-with-no-title (branched from master) REVISION DETAIL https://phabricator.kde.org/D23845 AFFECTED FILES src/controls/PageRow.qml src/controls/private/globaltoolbar/PageRowGlobalToolBarStyleGroup.qml src/controls/private/globaltoolbar/ToolBarPageHeader.qml To: ngraham, #kirigami, #vdg, mart Cc: plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, apol, davidedmundson, mart, hein