Skip to content
Permalink
Browse files

[pluginmanager] limit plugin icon maximum size to prevent breaking de…

…scription page layout
  • Loading branch information
alexbruy committed May 28, 2016
1 parent 4f49b8b commit e60ed0511fcf52cc81821067f41e8023db0d1dfa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/pluginmanager/qgspluginmanager.cpp
@@ -744,7 +744,7 @@ void QgsPluginManager::showPluginDetails( QStandardItem * item )
{
iconPath = "file://" + iconPath;
}
html += QString( "<img src=\"%1\" style=\"float:right;\">" ).arg( iconPath );
html += QString( "<img src=\"%1\" style=\"float:right;max-width:64px;max-height:64px;\">" ).arg( iconPath );
}

html += QString( "<h1>%1</h1>" ).arg( metadata->value( "name" ) );

0 comments on commit e60ed05

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