diff --git a/twitterwidgets.py b/twitterwidgets.py index f757908..68cd436 100644 --- a/twitterwidgets.py +++ b/twitterwidgets.py @@ -485,13 +485,20 @@ class UserBox(gtk.VBox): self.follow_label = gtk.Label('You are following this user') self.verified_label = gtk.Label('Verified account') - self.pack_start(self.name_label, expand=False) - self.pack_start(self.avatar, expand=False) - self.pack_start(self.follow_label, expand=False) - self.pack_start(self.verified_label, expand=False) + text_col = gtk.VBox() + text_col.pack_start(self.name_label, expand=False) + text_col.pack_start(self.follow_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.pack_start(self.follow_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) at_button.connect('clicked', self.on_at_clicked)