docs: Improve the GtkStackSidebar gallery image

This commit is contained in:
Matthias Clasen 2020-10-25 22:52:17 -04:00
parent 59e08c0dac
commit 291c61891a
2 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -1370,6 +1370,7 @@ create_sidebar (void)
gtk_widget_add_css_class (view, "view");
gtk_widget_set_halign (view, GTK_ALIGN_FILL);
gtk_widget_set_valign (view, GTK_ALIGN_FILL);
gtk_widget_set_hexpand (view, TRUE);
gtk_stack_add_titled (GTK_STACK (stack), view, "page1", "Page 1");
view = gtk_text_view_new ();
gtk_stack_add_titled (GTK_STACK (stack), view, "page2", "Page 2");
@ -1385,7 +1386,7 @@ create_sidebar (void)
gtk_box_append (GTK_BOX (hbox), stack);
gtk_frame_set_child (GTK_FRAME (frame), hbox);
return new_widget_info ("sidebar", frame, ASIS);
return new_widget_info ("sidebar", frame, MEDIUM);
}
static WidgetInfo *