aboutsummaryrefslogtreecommitdiff
path: root/src/comet.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-15 01:14:03 +0100
committerFederico Angelilli <code@fedang.net>2024-03-15 01:14:03 +0100
commit7f154168bcbb6e174800b1dbe81352a31b2cd23b (patch)
tree5cecbd0e456d2330c0b65e8c170fc568aa567542 /src/comet.c
parent74a29b60cdcff2906db89707c1059ee1cc840e49 (diff)
Add x and y padding to layout
Diffstat (limited to 'src/comet.c')
-rw-r--r--src/comet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comet.c b/src/comet.c
index 3ec6bc7..ed2ea91 100644
--- a/src/comet.c
+++ b/src/comet.c
@@ -327,17 +327,17 @@ int main(int argc, char **argv)
Button *group = button_group_create(PANGO_ALIGN_LEFT, grey, line_color);
Button *child1 = button_simple_create(PANGO_ALIGN_CENTER, color, line_color);
- button_set_padding(child1, 1);
+ button_set_padding(child1, 1, 1);
button_simple_set_text(child1, g_strdup("C1"), text_color);
button_simple_set_action(child1, show_action, NULL);
Button *child2 = button_simple_create(PANGO_ALIGN_CENTER, color, line_color);
- button_set_padding(child2, 1);
+ button_set_padding(child2, 1, 1);
button_simple_set_text(child2, g_strdup("C2"), text_color);
button_simple_set_action(child2, show_action, NULL);
Button *child3 = button_simple_create(PANGO_ALIGN_CENTER, color, line_color);
- button_set_padding(child3, 1);
+ button_set_padding(child3, 1, 1);
button_simple_set_text(child3, g_strdup("C3"), text_color);
button_simple_set_action(child3, show_action, NULL);