1
0
mirror of https://gitlab.com/openlp/openlp.git synced 2024-10-31 16:54:40 +00:00

fixed bug 803602 (Quick Tab for Bibles does not resize correctly)

Fixes: https://launchpad.net/bugs/803602
This commit is contained in:
Andreas Preikschat 2012-04-08 13:43:14 +02:00
parent c0cae670ef
commit a89b4f5931

View File

@ -28,7 +28,7 @@
import logging
import locale
from PyQt4 import QtCore, QtGui
from PyQt4 import QtCore, QtGui, Qt
from openlp.core.lib import MediaManagerItem, Receiver, ItemCapabilities, \
translate, create_separated_list
@ -199,6 +199,8 @@ class BibleMediaItem(MediaManagerItem):
self.quickLayout.addWidget(
self.quickSearchLabel, 0, 0, QtCore.Qt.AlignRight)
self.quickSearchEdit = SearchEdit(self.quickTab)
self.quickSearchEdit.setSizePolicy(
Qt.QSizePolicy.Expanding, Qt.QSizePolicy.Ignored)
self.quickSearchEdit.setObjectName(u'quickSearchEdit')
self.quickSearchLabel.setBuddy(self.quickSearchEdit)
self.quickLayout.addWidget(self.quickSearchEdit, 0, 1, 1, 2)