Fix ellipsizing on suggestion buttons
This commit is contained in:
parent
5e69fefe8e
commit
3e2cf840eb
@ -187,12 +187,12 @@ class SuggestionButton ( Gtk.Button ):
|
||||
self.image.show()
|
||||
HBox1.pack_start( self.image, False, False, 5 )
|
||||
self.label = Gtk.Label()
|
||||
#self.label.set_ellipsize( Pango.EllipsizeMode.END )
|
||||
self.label.set_ellipsize( Pango.EllipsizeMode.END )
|
||||
self.label.set_alignment( 0.0, 1.0 )
|
||||
self.label.show()
|
||||
labelBox.pack_start( self.label, False, False, 0 )
|
||||
labelBox.pack_start( self.label, True, True, 2 )
|
||||
labelBox.show()
|
||||
HBox1.pack_start( labelBox, False, False, 0 )
|
||||
HBox1.pack_start( labelBox, True, True, 2 )
|
||||
HBox1.show()
|
||||
Align1.add( HBox1 )
|
||||
Align1.show()
|
||||
|
Loading…
Reference in New Issue
Block a user