Created attachment 142201 [details] Empty space on the left SUMMARY At the moment, there is empty space on the left, even if no item has an icon. This empty space can be used for a command name, and it also looks weird. As an example, you can look at the menu, that has no empty space on the left if no menu item has an icon. IMO, this is reasonable behavior. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20210929 KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Graphics Platform: X11
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/79
Git commit 4ff9e5dd7ecd4821967b3f509046c2418f67149a by Waqar Ahmed, on behalf of Eugene Popov. Committed on 16/10/2021 at 10:42. Pushed by waqar into branch 'master'. [KCommandBar] Don't display an indent for an icon if no item has an icon This MR makes the CommandBarStyleDelegate not to display an indent for an icon if no item has an icon. M +44 -30 src/kcommandbar.cpp https://invent.kde.org/frameworks/kconfigwidgets/commit/4ff9e5dd7ecd4821967b3f509046c2418f67149a