Set word wrap on qrDescriptionLabel so that it doesn't cause the groupbox to resize.

This commit is contained in:
Philip Ridout 2012-01-30 17:44:37 +00:00
parent 6a8b06695c
commit addc049c5b

View File

@ -94,6 +94,7 @@ class RemoteTab(SettingsTab):
self.qrDescriptionLabel = QtGui.QLabel(self.androidAppGroupBox) self.qrDescriptionLabel = QtGui.QLabel(self.androidAppGroupBox)
self.qrDescriptionLabel.setObjectName(u'qrDescriptionLabel') self.qrDescriptionLabel.setObjectName(u'qrDescriptionLabel')
self.qrDescriptionLabel.setOpenExternalLinks(True) self.qrDescriptionLabel.setOpenExternalLinks(True)
self.qrDescriptionLabel.setWordWrap(True)
self.qrLayout.addWidget(self.qrDescriptionLabel) self.qrLayout.addWidget(self.qrDescriptionLabel)
self.leftLayout.addStretch() self.leftLayout.addStretch()
self.rightLayout.addStretch() self.rightLayout.addStretch()