Skip to content
Permalink
Browse files

[processing]Fixed UI bug with invalid button width.

  • Loading branch information
sept-en authored and alexbruy committed Apr 6, 2016
1 parent 4b75cc9 commit 05bbe1894e399f1d41eec632fe061402bcf17203
Showing with 4 additions and 2 deletions.
  1. +4 −2 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -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:

0 comments on commit 05bbe18

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