Bug #88390
closedIcon in Pagetree too big
0%
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.
Files
Updated by Riccardo De Contardi over 5 years ago
This should be a duplicate of https://forge.typo3.org/issues/86280
For a workaround, provide a viewbox of 0 0 16 16 with your svg icon.
Updated by Riccardo De Contardi over 5 years ago
- Related to Bug #86280: SVG images are not scaled in the backend page tree added
Updated by Dieter Porth over 5 years ago
Sorry. I searched with the wrong keywords.
Yes, the bug is related to it.
I will comment there.
Updated by Riccardo De Contardi over 5 years ago
- Status changed from New to Closed
@Dieter Porth Thank you for your quick reply; I close this issue in favor of #86280
Thank you for continuing the discussion there.