Skip to content

Commit

Permalink
show legend on top of graph instead of right
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennesky authored and NathanW2 committed May 19, 2014
1 parent c80d840 commit 3fc1585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsidentifyresultsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ QgsIdentifyResultsDialog::QgsIdentifyResultsDialog( QgsMapCanvas *canvas, QWidge
#if defined(QWT_VERSION) && QWT_VERSION<0x060000
mPlot->setAutoFillBackground( false );
mPlot->setAutoDelete( true );
mPlot->insertLegend( new QwtLegend(), QwtPlot::RightLegend );
mPlot->insertLegend( new QwtLegend(), QwtPlot::TopLegend );
QSizePolicy sizePolicy = QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
sizePolicy.setHorizontalStretch( 0 );
sizePolicy.setVerticalStretch( 0 );
Expand Down

0 comments on commit 3fc1585

Please sign in to comment.