From c8b505a129c4c0a464de3ee43994f2dadbf13227 Mon Sep 17 00:00:00 2001 From: Denis Fomin <fominde@gmail.com> Date: Fri, 7 Oct 2011 22:22:25 +0300 Subject: [PATCH] Fix gtk.label + wrapping in the dataform widget.(problem - http://img36.imageshack.us/img36/2782/tmpbhyeyn.png) --- src/gtkgui_helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py index 5b62aca0d..c2e1bf249 100644 --- a/src/gtkgui_helpers.py +++ b/src/gtkgui_helpers.py @@ -1081,6 +1081,7 @@ def __label_size_allocate(widget, allocation): return # set wrap width to the pango.Layout of the labels ### + widget.set_alignment(0.0, 0.0) layout.set_width (allocation.width * pango.SCALE) lh = layout.get_size()[1] -- GitLab