fix gtk4 tableview label alignment

Sun, 05 Jan 2025 16:56:05 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 05 Jan 2025 16:56:05 +0100
changeset 437
f02a62de0328
parent 436
222205801430
child 438
7b1d715e5c11

fix gtk4 tableview label alignment

ui/gtk/list.c file | annotate | diff | comparison | revisions
--- a/ui/gtk/list.c	Sun Jan 05 16:44:37 2025 +0100
+++ b/ui/gtk/list.c	Sun Jan 05 16:56:05 2025 +0100
@@ -340,6 +340,7 @@
         gtk_list_item_set_child(item, image);
     } else {
         GtkWidget *label = gtk_label_new(NULL);
+        gtk_label_set_xalign(GTK_LABEL(label), 0);
         gtk_list_item_set_child(item, label);
     }
 }

mercurial