Issue Bug Closed

#88390Icon in Pagetree too big

Dieter Porth 05/18/19, 20:11 updated 05/19/19, 12:10

Description

I add a custom page-type in my extension. I defined an own SVG-icon.

The icon is too big in the page-tree. The presentation in the add-List is okay.(see screenshot)

I registrate the icon in the ext_localconf.php

/** var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
‘checker-checker’,
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
[‘source’ => ‘EXT:checker/Resources/Public/Icons/CheckerPlugin.svg’]
);
@

I added the code of the SVG.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.