Skip to content

Commit

Permalink
[processing] better handling of col sizes in batch interface
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jun 28, 2014
1 parent a794c71 commit 9c95cdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/plugins/processing/gui/BatchProcessingDialog.py
Expand Up @@ -91,7 +91,9 @@ def __init__(self, alg):
self.table.setColumnCount(self.alg.getVisibleParametersCount()
+ nOutputs)
self.setTableContent()
self.table.horizontalHeader().setResizeMode(QtGui.QHeaderView.ResizeToContents)
self.table.horizontalHeader().setResizeMode(QtGui.QHeaderView.Interactive)
self.table.horizontalHeader().setDefaultSectionSize(250)
self.table.horizontalHeader().setMinimumSectionSize(150)
self.table.verticalHeader().setResizeMode(QtGui.QHeaderView.ResizeToContents)
self.table.horizontalHeader().setStretchLastSection(True)
self.table.verticalHeader().setVisible(False)
Expand Down

0 comments on commit 9c95cdd

Please sign in to comment.