Center align shortcut badges when iconSize < 48

Authored by trmdi on Mar 30 2019, 6:22 PM.

Description

Center align shortcut badges when iconSize < 48

Summary:
When iconSize is not big enough, center aligned shortcut badges look better than top-left aligned ones.

BUG: 406037

Test Plan:

  • When iconSize < 48: shortcut badges are center aligned
  • When iconSize >= 48: they are top-left aligned

For example, with iconSize = 32:
Before:


After:

Reviewers: Latte Dock, mvourlakos

Reviewed By: mvourlakos

Subscribers: mvourlakos, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D20128

Details

Committed
trmdiMar 31 2019, 6:37 AM
Reviewer
mvourlakos
Differential Revision
D20128: Center align shortcut badges when iconSize < 48
Parents
R878:348b617b496c: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown