Skip to content

Commit

Permalink
[gui] Fix qgsexpressionbuilder layout
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Dec 8, 2014
1 parent 3933f99 commit 535661d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/gui/qgsexpressionbuilderwidget.cpp
Expand Up @@ -115,6 +115,7 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
txtExpressionString->setFoldingVisible( false );
// customFunctionBotton->setVisible( QgsPythonRunner::isValid() );
txtPython->setVisible( false );
cgbCustomFunction->setCollapsed( true );
txtPython->setText( "@qgsfunction(args=-1, group='Custom')\n"
"def func(values, feature, parent):\n"
" return str(values)" );
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsexpressionbuilder.ui
Expand Up @@ -300,7 +300,7 @@
</layout>
</item>
<item row="2" column="0">
<widget class="QgsCollapsibleGroupBox" name="groupBox_2">
<widget class="QgsCollapsibleGroupBox" name="cgbCustomFunction">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
Expand Down

0 comments on commit 535661d

Please sign in to comment.