set policy to never when needed to height is good
This commit is contained in:
parent
4f46b4e7c1
commit
0a6ccd34e9
|
@ -695,6 +695,9 @@ class Chat:
|
|||
if requisition.width > message_width:
|
||||
message_scrolledwindow.set_property('hscrollbar-policy',
|
||||
gtk.POLICY_AUTOMATIC)
|
||||
else:
|
||||
message_scrolledwindow.set_property('hscrollbar-policy',
|
||||
gtk.POLICY_NEVER)
|
||||
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue