Skip to content

Commit 3fc1585

Browse files
etienneskyNathanW2
authored andcommitted
show legend on top of graph instead of right
1 parent c80d840 commit 3fc1585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsidentifyresultsdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ QgsIdentifyResultsDialog::QgsIdentifyResultsDialog( QgsMapCanvas *canvas, QWidge
305305
#if defined(QWT_VERSION) && QWT_VERSION<0x060000
306306
mPlot->setAutoFillBackground( false );
307307
mPlot->setAutoDelete( true );
308-
mPlot->insertLegend( new QwtLegend(), QwtPlot::RightLegend );
308+
mPlot->insertLegend( new QwtLegend(), QwtPlot::TopLegend );
309309
QSizePolicy sizePolicy = QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
310310
sizePolicy.setHorizontalStretch( 0 );
311311
sizePolicy.setVerticalStretch( 0 );

0 commit comments

Comments
 (0)