# HG changeset patch # User Dirk Olmes # Date 1293505005 -3600 # Node ID 11036eabbc467cb16d203742332ee76fe374c6bf # Parent 397688da3d28394f956ecf44683eb5e623d0f800 use a smaller default row height diff -r 397688da3d28 -r 11036eabbc46 MainWindow.py --- a/MainWindow.py Tue Dec 28 03:44:51 2010 +0100 +++ b/MainWindow.py Tue Dec 28 03:56:45 2010 +0100 @@ -33,6 +33,9 @@ self.ui.feedList.update() def initFeedEntryList(self): + # setup the default row height. This must be called before a table model is set + self.ui.feedEntryList.verticalHeader().setDefaultSectionSize(20) + self.ui.feedEntryList.setItemDelegate(FeedEntryItemDelegate()) self.ui.feedEntryList.setModel(FeedEntryTableModel([])) self.ui.feedEntryList.horizontalHeader().setStretchLastSection(True)