Skip to content

Commit 0a10e4b

Browse files
author
raveit65
committed
clock: set horizontal padding for clock-button
To make sure we have space left and right inside the button if applet is build-in-process.
1 parent f701bec commit 0a10e4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

applets/clock/clock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,8 +1284,8 @@ force_no_button_vertical_padding (GtkWidget *widget)
12841284
"#clock-applet-button {\n"
12851285
"padding-top: 0px;\n"
12861286
"padding-bottom: 0px;\n"
1287-
"margin-top: 0px;\n"
1288-
"margin-bottom: 0px;\n"
1287+
"padding-left: 4px;\n"
1288+
"padding-right: 4px;\n"
12891289
"}",
12901290
-1, NULL);
12911291
gtk_style_context_add_provider (gtk_widget_get_style_context (widget),

0 commit comments

Comments
 (0)