This commit is contained in:
Tim Bentley 2011-08-25 19:33:25 +01:00
parent ba3fb9221e
commit 803adc92c0
2 changed files with 5 additions and 3 deletions

View File

@ -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'))

View File

@ -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.'))