[TYPO3-dev] Module icons for Typo3

Dimitri Tarassenko mitka at mitka.us
Sun Mar 19 18:42:38 CET 2006


Martin, Tapio:

On 3/19/06, Martin Kutschker
<martin.kutschker-n0spam at no5pam-blackbox.net> wrote:

> >>> It would be nice, if the *default* module icon could be 16x16
> >>> and *ALL* people, who makes new BE modules would be informed
> >>> to use this size - then BE interface could look out consistent.
> >
> > In the new skin for Typo3 4.0 the size is 16x16 (some are
> > by accident too small - not resized but taken directly fron skin_grey of
> > Llasse Norby).
> >

> Were there ever fixied sies for any icons (not only module icons)? IMHO
> there wasn't or the extension authotrs didn't care. But your right, the
> layout of the module sidebar is broken if the icons are not the same height.

Most of the "old" extensions in "Web" are 12 pixels tall and various
width - I guess it's a de-facto standard (at least I try to follow
it). To solve the problem, how about the placeholders for the icons
are always redered a 16x16 pixels div, then an icon is placed inside
of it and centered vertically and horizontally, with "overflow:
hidden;" - this way, any icon smaller than 16x16 will be displayed
somewhat properly, and bigger ones will not screw up the layout?

--
Dimitri Tarassenko


More information about the TYPO3-dev mailing list