set spacing so that page scroll does not overlap text
This commit is contained in:
parent
16f2222211
commit
a72eb42459
@ -58,6 +58,7 @@ MainWin *create_main_window(void)
|
|||||||
gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 0);
|
gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 0);
|
||||||
|
|
||||||
mw->view = create_text_view();
|
mw->view = create_text_view();
|
||||||
|
gtk_container_set_border_width(GTK_CONTAINER(mw->view), 12);
|
||||||
gtk_container_add(GTK_CONTAINER(sw), mw->view);
|
gtk_container_add(GTK_CONTAINER(sw), mw->view);
|
||||||
mw->buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(mw->view));
|
mw->buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(mw->view));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user