diff --git a/src/calibre/gui2/main.ui b/src/calibre/gui2/main.ui
index 73cee4a061..4c9351909e 100644
--- a/src/calibre/gui2/main.ui
+++ b/src/calibre/gui2/main.ui
@@ -306,12 +306,6 @@
-
-
-
- 256
- 16777215
-
-
true
@@ -354,12 +348,12 @@
-
-
- Manage user categories
+
+ Create, edit, and delete user categories
+
+
+ Manage &user categories
-
- Create, edit, and delete user categories
-
@@ -369,7 +363,10 @@
-
- Restrict display to:
+ &Restrict display to:
+
+
+ search_restriction
@@ -381,9 +378,9 @@
0
-
- Books display will be restricted to those matching the selected saved search
-
+
+ Books display will be restricted to those matching the selected saved search
+
diff --git a/src/calibre/gui2/ui.py b/src/calibre/gui2/ui.py
index d5f50b92b8..12f620532e 100644
--- a/src/calibre/gui2/ui.py
+++ b/src/calibre/gui2/ui.py
@@ -603,6 +603,11 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
self.library_view.model().count_changed()
+ ########################### Tags Browser ##############################
+ self.search_restriction.setSizeAdjustPolicy(self.search_restriction.AdjustToMinimumContentsLengthWithIcon)
+ self.search_restriction.setMinimumContentsLength(10)
+
+
########################### Cover Flow ################################
self.cover_flow = None
if CoverFlow is not None: