Skip to content
Permalink
Browse files

fix 10303: limit expression widget width in data defined properties

  • Loading branch information
3nids committed Jun 6, 2014
1 parent b4b3139 commit 69f7b65648a925a19e8b068f10bab345b7b83e6e
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/symbology-ng/qgsdatadefinedsymboldialog.cpp
@@ -33,6 +33,8 @@ QgsDataDefinedSymbolDialog::QgsDataDefinedSymbolDialog( const QList< DataDefined

// expression
QgsFieldExpressionWidget* few = new QgsFieldExpressionWidget( this );
few->setMaximumWidth( 350 );
few->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Maximum );
few->setLayer( const_cast<QgsVectorLayer*>( vl ) );
few->setField( entryIt->initialValue );
mTreeWidget->setItemWidget( item, 1, few );

0 comments on commit 69f7b65

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