Project

General

Profile

Actions

Bug #88390

closed

Icon in Pagetree too big

Added by Dieter Porth over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-05-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

2019-05-18 20_05_07-Greenshot.png (120 KB) 2019-05-18 20_05_07-Greenshot.png Dieter Porth, 2019-05-18 20:09
CheckerPlugin.svg (3.46 KB) CheckerPlugin.svg Dieter Porth, 2019-05-18 20:10

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #86280: SVG images are not scaled in the backend page treeClosed2018-09-17

Actions
Actions #1

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.

Actions #2

Updated by Riccardo De Contardi over 5 years ago

  • Related to Bug #86280: SVG images are not scaled in the backend page tree added
Actions #3

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.

Actions #4

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.

Actions

Also available in: Atom PDF