diff --git a/src/calibre/gui2/preferences/tweaks.py b/src/calibre/gui2/preferences/tweaks.py
index 075375f3b0..9d0097ac35 100644
--- a/src/calibre/gui2/preferences/tweaks.py
+++ b/src/calibre/gui2/preferences/tweaks.py
@@ -260,6 +260,9 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
self.restore_default_button.clicked.connect(self.restore_to_default)
self.apply_button.clicked.connect(self.apply_tweak)
self.plugin_tweaks_button.clicked.connect(self.plugin_tweaks)
+ self.splitter.setStretchFactor(0, 1)
+ self.splitter.setStretchFactor(1, 100)
+
def plugin_tweaks(self):
raw = self.tweaks.plugin_tweaks_string
diff --git a/src/calibre/gui2/preferences/tweaks.ui b/src/calibre/gui2/preferences/tweaks.ui
index 139f9563ad..ab3f6b2bc3 100644
--- a/src/calibre/gui2/preferences/tweaks.ui
+++ b/src/calibre/gui2/preferences/tweaks.ui
@@ -13,109 +13,123 @@
Form
-
- -
-
-
-
-
-
- Values for the tweaks are shown below. Edit them to change the behavior of calibre. Your changes will only take effect <b>after a restart</b> of calibre.
-
-
- true
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 300
- 0
-
-
-
- true
-
-
- 5
-
-
- true
-
-
-
- -
-
-
- Edit tweaks for any custom plugins you have installed
-
-
- &Plugin tweaks
-
-
-
-
-
- -
-
-
- Help
+
+
-
+
+
+ Qt::Horizontal
-
-
-
-
-
- QPlainTextEdit::NoWrap
-
-
- true
-
-
-
-
-
-
- -
-
-
- Edit tweak
+
+ false
-
-
-
-
-
- QPlainTextEdit::NoWrap
-
-
-
- -
-
-
- Restore this tweak to its default value
-
-
- Restore &default
-
-
-
- -
-
-
- Apply any changes you made to this tweak
-
-
- &Apply
-
-
-
-
+
+
+ -
+
+
+ Values for the tweaks are shown below. Edit them to change the behavior of calibre. Your changes will only take effect <b>after a restart</b> of calibre.
+
+
+ true
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 300
+ 0
+
+
+
+ true
+
+
+ 5
+
+
+ true
+
+
+
+ -
+
+
+ Edit tweaks for any custom plugins you have installed
+
+
+ &Plugin tweaks
+
+
+
+
+
+
+
+ -
+
+
+ Help
+
+
+
-
+
+
+ QPlainTextEdit::NoWrap
+
+
+ true
+
+
+
+
+
+
+ -
+
+
+ Edit tweak
+
+
+
-
+
+
+ QPlainTextEdit::NoWrap
+
+
+
+ -
+
+
+ Restore this tweak to its default value
+
+
+ Restore &default
+
+
+
+ -
+
+
+ Apply any changes you made to this tweak
+
+
+ &Apply
+
+
+
+
+
+
+
+