Skip to content

Commit

Permalink
[pluginmanager] limit plugin icon maximum size to prevent breaking de…
Browse files Browse the repository at this point in the history
…scription page layout
  • Loading branch information
alexbruy committed May 28, 2016
1 parent 4f49b8b commit e60ed05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pluginmanager/qgspluginmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" ) );
Expand Down

0 comments on commit e60ed05

Please sign in to comment.