Aligned ban list checkboxes in GTK3 grids to preserve GTK2-style placement using GTK3 alignment helpers.

This commit is contained in:
2026-01-19 21:42:55 -07:00
parent 0c34c94397
commit 5441ab1a58

View File

@@ -837,6 +837,8 @@ banlist_opengui (struct session *sess)
G_CALLBACK (banlist_toggle), banl);
#if HAVE_GTK3
gtk_grid_attach (GTK_GRID (table), banl->checkboxes[i], i + 1, 0, 1, 1);
gtk_widget_set_halign (banl->checkboxes[i], GTK_ALIGN_START);
gtk_widget_set_valign (banl->checkboxes[i], GTK_ALIGN_CENTER);
#else
gtk_table_attach (GTK_TABLE (table), banl->checkboxes[i], i+1, i+2, 0, 1, GTK_FILL, GTK_FILL, 0, 0);
#endif