summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-30 17:32:42 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-10-30 17:32:42 (GMT)
commit1fec1c453a87fe23b9cd5ab3f2cfcc68bd883637 (patch)
tree2a14529109e7178681e9f2100e41ed914dffe2b2 /gui
parent08655f46fe0f737a0a1af457a2d9e6504307ac49 (diff)
downloadeeshow-1fec1c453a87fe23b9cd5ab3f2cfcc68bd883637.zip
eeshow-1fec1c453a87fe23b9cd5ab3f2cfcc68bd883637.tar.gz
eeshow-1fec1c453a87fe23b9cd5ab3f2cfcc68bd883637.tar.bz2
gui/view.c (view_open): align label with the upper left corner
Diffstat (limited to 'gui')
-rw-r--r--gui/view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/view.c b/gui/view.c
index c970a8d..181f3fd 100644
--- a/gui/view.c
+++ b/gui/view.c
@@ -69,6 +69,8 @@ struct view *view_open(
gtk_label_set_line_wrap(GTK_LABEL(view->label), TRUE);
gtk_label_set_selectable(GTK_LABEL(view->label), TRUE);
+ gtk_widget_set_halign(view->label, GTK_ALIGN_START);
+ gtk_widget_set_valign(view->label, GTK_ALIGN_START);
gtk_container_add(GTK_CONTAINER(scroll), view->label);
gtk_container_add(GTK_CONTAINER(view->window), scroll);