diff --git a/src/calibre/gui2/dialogs/smartdevice.ui b/src/calibre/gui2/dialogs/smartdevice.ui
index 97b4b71c00..9ac44b4dd1 100644
--- a/src/calibre/gui2/dialogs/smartdevice.ui
+++ b/src/calibre/gui2/dialogs/smartdevice.ui
@@ -18,6 +18,46 @@
:/images/mimetypes/unknown.png:/images/mimetypes/unknown.png
+ -
+
+
+ &Automatically allow connections at startup
+
+
+
+ -
+
+
+
+ 0
+ 100
+
+
+
+
+ -
+
+
+
+ 100
+ 0
+
+
+
+ QLineEdit::Password
+
+
+ Optional password for security
+
+
+
+ -
+
+
+ &Allow connections
+
+
+
-
@@ -38,52 +78,14 @@
- -
-
-
- QLineEdit::Password
-
-
-
- 100
- 0
-
-
-
-
- -
+
-
&Show password
- -
-
-
- &Allow connections
-
-
-
- -
-
-
- &Automatically allow connections at startup
-
-
-
- -
-
-
-
- 0
- 100
-
-
-
-
-
- -
+
-
Qt::Horizontal