Fri, 03 Oct 2025 11:44:08 +0200
fix splitview window left panel (GTK)
| ui/gtk/container.c | file | annotate | diff | comparison | revisions | |
| ui/gtk/window.c | file | annotate | diff | comparison | revisions |
--- a/ui/gtk/container.c Fri Oct 03 11:31:27 2025 +0200 +++ b/ui/gtk/container.c Fri Oct 03 11:44:08 2025 +0200 @@ -1062,6 +1062,7 @@ } GtkWidget *box = ui_gtk_vbox_new(args->spacing); + ui_set_name_and_style(box, args->name, args->style_class); ui_box_set_margin(box, args->margin); BOX_ADD_EXPAND(pbox, box);
--- a/ui/gtk/window.c Fri Oct 03 11:31:27 2025 +0200 +++ b/ui/gtk/window.c Fri Oct 03 11:44:08 2025 +0200 @@ -254,8 +254,7 @@ g_object_set_data(G_OBJECT(obj->widget), "ui_right_panel", right_vbox); } - GtkWidget *content_box = ui_gtk_vbox_new(0); - BOX_ADD_EXPAND(GTK_BOX(vbox), content_box); + GtkWidget *content_box = vbox; if(sidebar) { GtkWidget *splitview = adw_overlay_split_view_new();