Commit 0e011ac0 authored by Dicson's avatar Dicson

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
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment