--- a/ui/gtk/container.c Sun Sep 29 13:32:51 2024 +0200 +++ b/ui/gtk/container.c Sun Sep 29 20:25:41 2024 +0200 @@ -266,6 +266,7 @@ UI_APPLY_LAYOUT1(current, args); GtkWidget *box = type == UI_CONTAINER_VBOX ? ui_gtk_vbox_new(args.spacing) : ui_gtk_hbox_new(args.spacing); + ui_set_name_and_style(box, args.name, args.style_class); GtkWidget *widget = args.margin > 0 ? box_set_margin(box, args.margin) : box; ct->add(ct, widget, TRUE); @@ -303,6 +304,7 @@ GtkWidget *widget; GtkWidget *grid = create_grid(args.columnspacing, args.rowspacing); + ui_set_name_and_style(grid, args.name, args.style_class); widget = box_set_margin(grid, args.margin); current->container->add(current->container, widget, TRUE); @@ -319,6 +321,7 @@ UI_APPLY_LAYOUT1(current, args); GtkWidget *sw = SCROLLEDWINDOW_NEW(); + ui_set_name_and_style(sw, args.name, args.style_class); UiObject *newobj = uic_object_new(obj, sw); newobj->container = ui_scrolledwindow_container(obj, sw); uic_obj_add(obj, newobj);