Skip to content
Permalink
Browse files
show legend on top of graph instead of right
  • Loading branch information
etiennesky authored and NathanW2 committed May 19, 2014
1 parent c80d840 commit 3fc1585456ec7491ccb3f6eba0515679804a6107
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsidentifyresultsdialog.cpp
@@ -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 );

0 comments on commit 3fc1585

Please sign in to comment.