Skip to content
Permalink
Browse files

[processing]Fixed UI bug with invalid button width.

  • Loading branch information
sept-en committed Mar 27, 2016
1 parent 0d21e64 commit bf83f4ebd0861a6739c27b3ac5e3a3292172d3f9
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 bf83f4e

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