From 803adc92c0b45d474975a73d5f3f5da26a4ee463 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Thu, 25 Aug 2011 19:33:25 +0100 Subject: [PATCH] Fixes --- openlp/core/ui/themewizard.py | 2 +- openlp/plugins/images/lib/imagetab.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/openlp/core/ui/themewizard.py b/openlp/core/ui/themewizard.py index 12fc70760..6001c83d6 100644 --- a/openlp/core/ui/themewizard.py +++ b/openlp/core/ui/themewizard.py @@ -449,7 +449,7 @@ class Ui_ThemeWizard(object): self.gradientComboBox.setItemText(BackgroundGradientType.LeftBottom, translate('OpenLP.ThemeWizard', 'Bottom Left - Top Right')) self.imageColorLabel.setText( - translate(u'OpenLP.ThemeWizard', 'Border color:')) + translate(u'OpenLP.ThemeWizard', 'Background color:')) self.imageLabel.setText(u'%s:' % UiStrings().Image) self.mainAreaPage.setTitle( translate('OpenLP.ThemeWizard', 'Main Area Font Details')) diff --git a/openlp/plugins/images/lib/imagetab.py b/openlp/plugins/images/lib/imagetab.py index 640cd4495..05e998d81 100644 --- a/openlp/plugins/images/lib/imagetab.py +++ b/openlp/plugins/images/lib/imagetab.py @@ -57,6 +57,8 @@ class ImageTab(SettingsTab): self.formLayout.addRow(self.informationLabel) self.leftLayout.addWidget(self.fontGroupBox) self.leftLayout.addStretch() + self.rightColumn.setSizePolicy( + QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) self.rightLayout.addStretch() # Signals and slots QtCore.QObject.connect(self.backgroundColorButton, @@ -64,9 +66,9 @@ class ImageTab(SettingsTab): def retranslateUi(self): self.fontGroupBox.setTitle( - translate('ImagesPlugin.ImageTab', 'Background Font')) + translate('ImagesPlugin.ImageTab', 'Background Color')) self.backgroundColorLabel.setText( - translate('ImagesPlugin.ImageTab', 'Background color:')) + translate('ImagesPlugin.ImageTab', 'Default Color:')) self.informationLabel.setText( translate('ImagesPlugin.ImageTab', 'Provides border where image ' 'is not the correct dimensions for the screen when resized.'))