Fix gtk.label + wrapping in the dataform widget.(problem - http://img36.imageshack.us/img36/2782/tmpbhyeyn.png)
This commit is contained in:
parent
1c20f5c5f4
commit
c8b505a129
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue