From 0da52febebbf6080e4d5176cd762b41f57c9a87a Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 20 May 2010 00:35:13 -0400 Subject: [PATCH] Reformatted UserBox --- twitterwidgets.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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)