forked from openlp/openlp
fixed margin; scroll to the bottom when adding a new tag
This commit is contained in:
parent
cd3798573a
commit
ee985fde7d
@ -36,7 +36,7 @@ class Ui_DisplayTagDialog(object):
|
||||
displayTagDialog.setObjectName(u'displayTagDialog')
|
||||
displayTagDialog.resize(725, 548)
|
||||
self.listdataGridLayout = QtGui.QGridLayout(displayTagDialog)
|
||||
self.listdataGridLayout.setMargin(0)
|
||||
self.listdataGridLayout.setMargin(8)
|
||||
self.listdataGridLayout.setObjectName(u'listdataGridLayout')
|
||||
self.tagTableWidget = QtGui.QTableWidget(displayTagDialog)
|
||||
self.tagTableWidget.setHorizontalScrollBarPolicy(
|
||||
|
@ -138,6 +138,7 @@ class DisplayTagForm(QtGui.QDialog, Ui_DisplayTagDialog):
|
||||
# Highlight new row
|
||||
self.tagTableWidget.selectRow(self.tagTableWidget.rowCount() - 1)
|
||||
self.onRowSelected()
|
||||
self.tagTableWidget.scrollToBottom()
|
||||
|
||||
def onDeletePushed(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user