https://bugs.kde.org/show_bug.cgi?id=381535

--- Comment #8 from Henrik Fehlauer <rk...@lab12.net> ---
Git commit 8e51240839744679939a5390dc280f312b20d340 by Henrik Fehlauer.
Committed on 10/12/2017 at 22:08.
Pushed by rkflx into branch 'Plasma/5.11'.

Fix indentation of icon for left aligned toolbuttons

Summary:
Gwenview's {nav Operations} sidebar uses custom `QToolButtons` which are
wide and left aligned. Special support for this in Oxygen was added with
b33942690c65. However, compared to the KDE4 version there is not enough space
between the left button border and the icon (Screenshots from the
matching Diff for Breeze, see D9281):

{F5539728}

This is fixed by adding the appropriate margin:

{F5539730}

Note how this replicates exactly the spacing of the toolbuttons in the
regular toolbar on the top (which had its icon size set to "small" in
this screenshot).

Test Plan:
Icons on toolbuttons in Gwenview's {nav Operations} sidebar no longer
squished all the way to the left, text spacing still looking good.

Reviewers: hpereiradacosta

Subscribers: ngraham, plasma-devel

Tags: #plasma

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

M  +4    -1    kstyle/oxygenstyle.cpp

https://commits.kde.org/oxygen/8e51240839744679939a5390dc280f312b20d340

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to