diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-12-08 23:41:10 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-12-08 23:41:10 +0100 |
commit | 61d8ee107cb9a2af29184290389244b92b0d638d (patch) | |
tree | d92f717b78e033fc44f4f846659b1ca4f05e7b33 /src/narrative_window.c | |
parent | 5ae5202020cb11e7760c881c88c24252f231f232 (diff) |
Add minimum border size
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r-- | src/narrative_window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c index 0cc3b34..2d5727f 100644 --- a/src/narrative_window.c +++ b/src/narrative_window.c @@ -271,6 +271,7 @@ NarrativeWindow *narrative_window_new(struct presentation *p, GApplication *app) sc_editor_set_size(nw->sceditor, 640, 1024); sc_editor_set_logical_size(nw->sceditor, 640.0, 1024.0); sc_editor_set_background(nw->sceditor, 0.9, 0.9, 0.9); + sc_editor_set_min_border(nw->sceditor, 40.0); g_signal_connect(G_OBJECT(nw->sceditor), "button-press-event", G_CALLBACK(button_press_sig), nw); |