Skip to content
Permalink
Browse files

Make sure new map dock views use correct icon size

  • Loading branch information
nyalldawson committed Aug 17, 2017
1 parent a369c9b commit 2d441a8d1df50d4b5af8879e77ae47da008b9624
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgsmapcanvasdockwidget.cpp
@@ -44,6 +44,8 @@ QgsMapCanvasDockWidget::QgsMapCanvasDockWidget( const QString &name, QWidget *pa
static_cast< QVBoxLayout * >( mContents->layout() )->setSpacing( 0 );

setWindowTitle( name );
mToolbar->setIconSize( QgisApp::instance()->iconSize( true ) );

mMapCanvas = new QgsMapCanvas( this );
mXyMarker = new QgsVertexMarker( mMapCanvas );
mXyMarker->setIconType( QgsVertexMarker::ICON_CIRCLE );

0 comments on commit 2d441a8

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