Skip to content
Permalink
Browse files

Merge pull request #2945 from sept-en/master

[processing] fixed UI bug with invalid button width in Modeler algorithm dialogs
  • Loading branch information
alexbruy committed Mar 29, 2016
2 parents 944db6d + bf83f4e commit 26df41f95065eac76fb895488984f94030f845e7
Showing with 4 additions and 2 deletions.
  1. +4 −2 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -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:

0 comments on commit 26df41f

Please sign in to comment.
You can’t perform that action at this time.