Skip to content
Permalink
Browse files

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

…scription page layout

(cherry picked from commit e60ed05)
  • Loading branch information
alexbruy committed Aug 11, 2016
1 parent 4122513 commit 4597d28c408122d53d185ab5d7dc28cf23d95e40
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 4597d28

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