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 authored and alexbruy committed Apr 6, 2016
1 parent 4b75cc9 commit 05bbe18
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 @@ -99,10 +99,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 05bbe18

Please sign in to comment.