diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-03-03 18:51:34 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-03-03 18:52:22 +0100 |
commit | acbec489df38e182a8e284095ccd7a0f1d84112e (patch) | |
tree | 1ad22572be6294ae761a2ecba7dea37c26f0b969 /libstorycode/gtk | |
parent | f2bfe89481217625f74224289947f7bcd839c55f (diff) |
Styled narrative rendering
Diffstat (limited to 'libstorycode/gtk')
-rw-r--r-- | libstorycode/gtk/gtknarrativeview.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstorycode/gtk/gtknarrativeview.c b/libstorycode/gtk/gtknarrativeview.c index 55565d8..e6f4f38 100644 --- a/libstorycode/gtk/gtknarrativeview.c +++ b/libstorycode/gtk/gtknarrativeview.c @@ -131,6 +131,7 @@ static gboolean resize_sig(GtkWidget *widget, GdkEventConfigure *event, e->visible_height = event->height; e->visible_width = event->width; + e->w = e->visible_width; /* Wrap everything with the current width, to get the total height */ narrative_wrap(presentation_get_narrative(e->p), |