Skip to content
Permalink
Browse files

[gui] Fix qgsexpressionbuilder layout

  • Loading branch information
borysiasty committed Dec 8, 2014
1 parent 3933f99 commit 535661d63a3ad1533210fec802adb132c6059d56
Showing with 2 additions and 1 deletion.
  1. +1 −0 src/gui/qgsexpressionbuilderwidget.cpp
  2. +1 −1 src/ui/qgsexpressionbuilder.ui
@@ -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.
You can’t perform that action at this time.