forked from openlp/openlp
fixed bug 803602 (Quick Tab for Bibles does not resize correctly)
bzr-revno: 1937 Fixes: https://launchpad.net/bugs/803602
This commit is contained in:
commit
4f9dbaa4eb
@ -28,7 +28,7 @@
|
|||||||
import logging
|
import logging
|
||||||
import locale
|
import locale
|
||||||
|
|
||||||
from PyQt4 import QtCore, QtGui
|
from PyQt4 import QtCore, QtGui, Qt
|
||||||
|
|
||||||
from openlp.core.lib import MediaManagerItem, Receiver, ItemCapabilities, \
|
from openlp.core.lib import MediaManagerItem, Receiver, ItemCapabilities, \
|
||||||
translate, create_separated_list
|
translate, create_separated_list
|
||||||
@ -199,6 +199,8 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
self.quickLayout.addWidget(
|
self.quickLayout.addWidget(
|
||||||
self.quickSearchLabel, 0, 0, QtCore.Qt.AlignRight)
|
self.quickSearchLabel, 0, 0, QtCore.Qt.AlignRight)
|
||||||
self.quickSearchEdit = SearchEdit(self.quickTab)
|
self.quickSearchEdit = SearchEdit(self.quickTab)
|
||||||
|
self.quickSearchEdit.setSizePolicy(
|
||||||
|
Qt.QSizePolicy.Expanding, Qt.QSizePolicy.Ignored)
|
||||||
self.quickSearchEdit.setObjectName(u'quickSearchEdit')
|
self.quickSearchEdit.setObjectName(u'quickSearchEdit')
|
||||||
self.quickSearchLabel.setBuddy(self.quickSearchEdit)
|
self.quickSearchLabel.setBuddy(self.quickSearchEdit)
|
||||||
self.quickLayout.addWidget(self.quickSearchEdit, 0, 1, 1, 2)
|
self.quickLayout.addWidget(self.quickSearchEdit, 0, 1, 1, 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user