Skip to content
Permalink
Browse files

Fix tiny symbol layer list on hidpi

  • Loading branch information
nyalldawson committed Sep 24, 2018
1 parent 39f36c3 commit b4c8f627c3df0032984f0b0f65c96b8d23228b98
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/symbology/qgssymbolselectordialog.cpp
@@ -232,6 +232,9 @@ QgsSymbolSelectorWidget::QgsSymbolSelectorWidget( QgsSymbol *symbol, QgsStyle *s
setupUi( this );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

layersTree->setMaximumHeight( static_cast< int >( Qgis::UI_SCALE_FACTOR * fontMetrics().height() * 7 ) );
layersTree->setMinimumHeight( layersTree->maximumHeight() );

// setup icons
btnAddLayer->setIcon( QIcon( QgsApplication::iconPath( "symbologyAdd.svg" ) ) );
btnRemoveLayer->setIcon( QIcon( QgsApplication::iconPath( "symbologyRemove.svg" ) ) );

0 comments on commit b4c8f62

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