mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[pluginmanager] limit plugin icon maximum size to prevent breaking description page layout
This commit is contained in:
parent
4f49b8b742
commit
e60ed0511f
@ -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" ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user