diff --git a/openlp/core/ui/themeform.py b/openlp/core/ui/themeform.py index 114d541f5..743b0ca2d 100644 --- a/openlp/core/ui/themeform.py +++ b/openlp/core/ui/themeform.py @@ -249,7 +249,8 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard): paint.setPen(QtGui.QPen(QtCore.Qt.red, 2)) paint.drawRect(self.thememanager.mainwindow.renderer.get_footer_rectangle(self.theme)) paint.end() - pixmap = pixmap.scaledToWidth(200, QtCore.Qt.SmoothTransformation) + pixmap = pixmap.scaledToHeight(150, QtCore.Qt.SmoothTransformation) + self.themeLayoutLabel.setFixedSize(pixmap.width() + 2, pixmap.height() + 2) self.themeLayoutLabel.setPixmap(pixmap) self.displayAspectRatio = float(pixmap.width()) / pixmap.height() self.resizeEvent()