Skip to content
Permalink
Browse files
[gui] Fix qgsexpressionbuilder layout
  • 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.
@@ -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)" );
@@ -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>

0 comments on commit 535661d

Please sign in to comment.