Reformatted UserBox
This commit is contained in:
parent
502ffe716f
commit
0da52febeb
|
@ -485,13 +485,20 @@ class UserBox(gtk.VBox):
|
||||||
self.follow_label = gtk.Label('You are following this user')
|
self.follow_label = gtk.Label('You are following this user')
|
||||||
self.verified_label = gtk.Label('Verified account')
|
self.verified_label = gtk.Label('Verified account')
|
||||||
|
|
||||||
self.pack_start(self.name_label, expand=False)
|
text_col = gtk.VBox()
|
||||||
self.pack_start(self.avatar, expand=False)
|
text_col.pack_start(self.name_label, expand=False)
|
||||||
self.pack_start(self.follow_label, expand=False)
|
text_col.pack_start(self.follow_label, expand=False)
|
||||||
self.pack_start(self.verified_label, expand=False)
|
text_col.pack_start(self.verified_label, expand=False)
|
||||||
|
|
||||||
|
info_row = gtk.HBox()
|
||||||
|
info_row.pack_start(self.avatar, expand=False)
|
||||||
|
info_row.pack_start(text_col, expand=False)
|
||||||
|
|
||||||
button_row = gtk.HBox()
|
button_row = gtk.HBox()
|
||||||
button_row.pack_start(self.follow_button, expand=False)
|
button_row.pack_start(self.follow_button, expand=False)
|
||||||
button_row.pack_start(at_button, expand=False)
|
button_row.pack_start(at_button, expand=False)
|
||||||
|
|
||||||
|
self.pack_start(info_row, expand=False)
|
||||||
self.pack_start(button_row, expand=False)
|
self.pack_start(button_row, expand=False)
|
||||||
|
|
||||||
at_button.connect('clicked', self.on_at_clicked)
|
at_button.connect('clicked', self.on_at_clicked)
|
||||||
|
|
Reference in New Issue
Block a user