Skip to content
Snippets Groups Projects
Commit 0e011ac0 authored by Dicson's avatar Dicson
Browse files

Fix gtk.label + wrapping in the dataform widget.(problem -...

Fix gtk.label + wrapping in the dataform widget.(problem - http://img36.imageshack.us/img36/2782/tmpbhyeyn.png)
parent 47e5a523
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment