From b3027e671603ffe954e82bc88d7b987823bdaa2c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 31 Dec 2010 10:47:05 -0700 Subject: [PATCH] ... --- src/calibre/gui2/tag_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tag_view.py b/src/calibre/gui2/tag_view.py index bbc573371a..b3e927875c 100644 --- a/src/calibre/gui2/tag_view.py +++ b/src/calibre/gui2/tag_view.py @@ -1289,7 +1289,7 @@ class TagBrowserWidget(QWidget): # {{{ model.show_item_at_path(self.current_find_position, box=True) elif self.item_search.text(): self.not_found_label.setVisible(True) - width = self.not_found_label.parent().width()-8 + width = self.width()-8 height = self.not_found_label.heightForWidth(width) + 20 self.not_found_label.resize(width, height) self.not_found_label.move(4, 10)