ui/gtk/window.c

branch
newapi
changeset 413
b8e41d42f400
parent 411
3e91b7aff6a1
--- a/ui/gtk/window.c	Thu Dec 12 11:23:33 2024 +0100
+++ b/ui/gtk/window.c	Thu Dec 12 16:34:39 2024 +0100
@@ -136,7 +136,7 @@
     } else {
         gtk_window_set_default_size(
                 GTK_WINDOW(obj->widget),
-                window_default_width,
+                window_default_width + sidebar*250,
                 window_default_height);
     }
     
@@ -236,6 +236,7 @@
         gtk_paned_add2(GTK_PANED(paned), content_box);
         BOX_ADD_EXPAND(GTK_BOX(vbox), paned);
         g_object_set_data(G_OBJECT(obj->widget), "ui_sidebar", sidebar_vbox);
+        gtk_paned_set_position (GTK_PANED(paned), 200);
     } else {
         BOX_ADD_EXPAND(GTK_BOX(vbox), content_box);
     }

mercurial