Use 1px padding on titlebuttons

Authored by jackg on Feb 28 2018, 1:42 PM.

Description

Use 1px padding on titlebuttons

Summary: This patch fixes titlebutton rendering in Chromium. The headerbar used by Breeze is the same size when a window is maximized, but Chromium uses a smaller headerbar for its tabstrip background when the browser is maximized. When buttons won't fit, Chromium downsizes buttons. This was happening with Breeze titlebuttons since it used 6px of padding on the top and bottom of the buttons, so the buttons appeared taller than they actually were. This patch changes the top and bottom padding to 1px. In native GTK apps, there's no change in appearance.

Reviewers: Breeze, abetts

Reviewed By: abetts

Subscribers: plasma-devel

Tags: Plasma, Breeze

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

Details

Committed
jackgFeb 28 2018, 2:00 PM
Reviewer
abetts
Differential Revision
D9773: Use 1px padding on titlebuttons
Parents
R98:989b90c0f1ab: Update version number for 5.12.80 GIT_SILENT
Branches
Unknown
Tags
Unknown