D9773: Use 1px padding on titlebuttons
Tom Anderson
noreply at phabricator.kde.org
Tue Jan 9 20:07:04 UTC 2018
tomanderson created this revision.
tomanderson added a reviewer: Breeze.
tomanderson added a project: Breeze.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
tomanderson requested review of this revision.
REVISION 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.
REPOSITORY
R98 Breeze for Gtk
REVISION DETAIL
https://phabricator.kde.org/D9773
AFFECTED FILES
Breeze-dark-gtk/gtk-3.18/gtk.css
Breeze-dark-gtk/gtk-3.20/gtk.css
Breeze-gtk/gtk-3.18/gtk.css
Breeze-gtk/gtk-3.20/gtk.css
To: tomanderson, #breeze
Cc: plasma-devel, ZrenBot, ngraham, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180109/8858a520/attachment.html>
More information about the Plasma-devel
mailing list