commit a9ace26d77bd50bd2b4594297e69277a6103cd10
parent 77e91c3ec02438b25d218175298c8637a0f3f7d3
Author: parazyd <parazyd@dyne.org>
Date: Thu, 25 Mar 2021 00:44:02 +0100
Styling.
Diffstat:
3 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -0,0 +1,9 @@
+cancel
+======
+
+Free and open source cancelling!
+
+![cancel](screenshot.png)
+
+Use this to cancel anything, like freedom of speech, or even creators of
+the free software movement!
diff --git a/cancel.c b/cancel.c
@@ -35,7 +35,12 @@ static void activate(GtkApplication *app, gpointer data)
GtkWidget *window, *box, *label, *entry, *button;
window = gtk_application_window_new(app);
+ gtk_window_set_default_size(GTK_WINDOW(window), 320, 240);
+ gtk_window_set_gravity(GTK_WINDOW(window), GDK_GRAVITY_CENTER);
+
box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 10);
+ gtk_widget_set_halign(box, GTK_ALIGN_CENTER);
+ gtk_widget_set_valign(box, GTK_ALIGN_CENTER);
label = gtk_label_new("Who should we cancel today?");
gtk_container_add(GTK_CONTAINER(box), label);
diff --git a/screenshot.png b/screenshot.png
Binary files differ.