Skip to content

Commit

Permalink
fix 10303: limit expression widget width in data defined properties
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jun 6, 2014
1 parent b4b3139 commit 69f7b65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/symbology-ng/qgsdatadefinedsymboldialog.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 69f7b65

Please sign in to comment.