Skip to content

Commit

Permalink
[processing]Fixed UI bug with invalid button width.
Browse files Browse the repository at this point in the history
  • Loading branch information
sept-en committed Mar 27, 2016
1 parent 0d21e64 commit bf83f4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/plugins/processing/modeler/ModelerParametersDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,12 @@ def setupUi(self):
if param.isAdvanced:
self.advancedButton = QPushButton()
self.advancedButton.setText(self.tr('Show advanced parameters'))
self.advancedButton.setMaximumWidth(150)
self.advancedButton.clicked.connect(
self.showAdvancedParametersClicked)
self.verticalLayout.addWidget(self.advancedButton)
advancedButtonHLayout = QHBoxLayout()
advancedButtonHLayout.addWidget(self.advancedButton)
advancedButtonHLayout.addStretch()
self.verticalLayout.addLayout(advancedButtonHLayout)
break
for param in self._alg.parameters:
if param.hidden:
Expand Down

0 comments on commit bf83f4e

Please sign in to comment.