Merge lp:~willcooke/ubuntu-themes/gtkswitchoverflow-1604 into lp:ubuntu-themes/xenial

Proposed by Will Cooke on 2016-07-07
Status: Merged
Approved by: Dmitry Shachnev on 2016-08-04
Approved revision: 482
Merged at revision: 483
Proposed branch: lp:~willcooke/ubuntu-themes/gtkswitchoverflow-1604
Merge into: lp:ubuntu-themes/xenial
Diff against target: 25 lines (+4/-0)
2 files modified
Ambiance/gtk-3.0/gtk-widgets.css (+2/-0)
Radiance/gtk-3.0/gtk-widgets.css (+2/-0)
To merge this branch: bzr merge lp:~willcooke/ubuntu-themes/gtkswitchoverflow-1604
Reviewer Review Type Date Requested Status
Dmitry Shachnev Approve on 2016-08-04
Iain Lane 2016-07-07 Pending
Review via email: mp+299431@code.launchpad.net

Commit message

Adds specific border widths to left and right of GtkSwitch buttons to hide the overflowing background of the button.

Description of the change

Adds specific border widths to left and right of GtkSwitch buttons to hide the overflowing background of the button. Fixes LP: #1594816

To post a comment you must log in.
Dmitry Shachnev (mitya57) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Ambiance/gtk-3.0/gtk-widgets.css'
2--- Ambiance/gtk-3.0/gtk-widgets.css 2016-06-20 09:29:05 +0000
3+++ Ambiance/gtk-3.0/gtk-widgets.css 2016-07-07 14:29:21 +0000
4@@ -1476,6 +1476,8 @@
5 GtkSwitch {
6 border-radius: 8px;
7 padding: 0;
8+ border-left-width: 1px;
9+ border-right-width: 1px;
10 }
11
12 GtkSwitch.trough {
13
14=== modified file 'Radiance/gtk-3.0/gtk-widgets.css'
15--- Radiance/gtk-3.0/gtk-widgets.css 2016-06-20 09:29:05 +0000
16+++ Radiance/gtk-3.0/gtk-widgets.css 2016-07-07 14:29:21 +0000
17@@ -1498,6 +1498,8 @@
18 GtkSwitch {
19 border-radius: 8px;
20 padding: 0;
21+ border-left-width: 1px;
22+ border-right-width: 1px;
23 }
24
25 GtkSwitch.trough {

Subscribers

People subscribed via source and target branches