From af5af3d029f94d554bcfb62aa28c02115e850c5c Mon Sep 17 00:00:00 2001 From: David Date: Wed, 12 Jun 2019 22:21:21 +1000 Subject: [PATCH] Better layout of new cover options in KoboTouch driver. --- src/calibre/devices/kobo/kobotouch_config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/calibre/devices/kobo/kobotouch_config.py b/src/calibre/devices/kobo/kobotouch_config.py index 174390d581..86c1ebfa13 100644 --- a/src/calibre/devices/kobo/kobotouch_config.py +++ b/src/calibre/devices/kobo/kobotouch_config.py @@ -362,11 +362,11 @@ class CoversGroupBox(DeviceOptionsGroupBox): self.upload_grayscale_checkbox.toggled.connect( lambda checked: not checked and self.png_covers_checkbox.setChecked(False)) - self.options_layout.addWidget(self.upload_grayscale_checkbox, 0, 0, 1, 1) - self.options_layout.addWidget(self.dithered_covers_checkbox, 0, 1, 1, 1) - self.options_layout.addWidget(self.keep_cover_aspect_checkbox, 1, 0, 1, 1) - self.options_layout.addWidget(self.letterbox_fs_covers_checkbox, 1, 1, 1, 1) - self.options_layout.addWidget(self.png_covers_checkbox, 2, 0, 1, 2, Qt.AlignCenter) + self.options_layout.addWidget(self.keep_cover_aspect_checkbox, 0, 0, 1, 1) + self.options_layout.addWidget(self.letterbox_fs_covers_checkbox, 0, 1, 1, 1) + self.options_layout.addWidget(self.upload_grayscale_checkbox, 1, 0, 1, 1) + self.options_layout.addWidget(self.dithered_covers_checkbox, 1, 1, 1, 1) + self.options_layout.addWidget(self.png_covers_checkbox, 2, 1, 1, 1) @property def upload_covers(self):