diff options
-rw-r--r-- | src/tab.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -95,13 +95,11 @@ mq_tab_new(gchar *uri) G_CALLBACK(title_cb), tab); mq_tab_chrome_set_web_view(tab->chrome, tab->web_view); - tab->container = gtk_grid_new(); - gtk_grid_attach(GTK_GRID(tab->container), - mq_tab_chrome_get_container(tab->chrome), - 0, 0, 1, 1); - gtk_grid_attach(GTK_GRID(tab->container), - mq_tab_body_get_container(tab->body), - 0, 1, 1, 1); + tab->container = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); + gtk_box_pack_start(GTK_BOX(tab->container), + mq_tab_chrome_get_container(tab->chrome), FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(tab->container), + mq_tab_body_get_container(tab->body), TRUE, TRUE, 0); return tab; } |