[TYPO3-core] RFC: #7986: Vertical aligned Icons in List-Module

Steffen Kamper steffen at sk-typo3.de
Wed Apr 9 19:11:18 CEST 2008


"Peter Niederlag" <peter at niederlag.de> schrieb im Newsbeitrag 
news:mailman.3888.1207759048.3430.typo3-team-core at lists.netfielders.de...
> Hello,
>
> Ernesto Baschny [cron IT] schrieb:
>> Hi,
>>
>> looks cool. But there are minor tweaks still needed:
>>
>> a) the dummy-blank icons are not the same size as the original icons.
>> This leads the columns not to be "aligned" if you have multiple tables
>> in a row and each one provide a different set of available functions.
>> See list-ff-blanks.png screenshot where I selected the content with the
>> mouse, so that the dummy-images are visible.
>
> Did you apply the complete patch? Shouldn't be like that, if you use
> (patched) t3skin! Of course you cleared conf-caches?
>
> It is kind of troublesome because
> a) icon-size depends on the skin
> b) might differ from icon to icon (default, not t3skin)
>
> @Laax we decided that at least a skin should provide *unique*
> icon-sizes, that's why we provided a configuration in $TBE_STYLES for it.
>
> The blank-icon takes this into account but Steffen removed the indiviual
> sizes of the clear.gif. These are needed for the default skin, which has
> icons which differ in size.
>

i didn't removed, it's there. But the default if not defined by skin ext is 
12 instead of 16, i will change

$spaceIcon = '<img src="' . $this->backPath . 'clear.gif" width="' . 
($GLOBALS['TBE_STYLES']['skinImgAutoCfg']['iconSizeWidth']?$GLOBALS['TBE_STYLES']['skinImgAutoCfg']['iconSizeWidth']:12) 
. '" height="' . 
($GLOBALS['TBE_STYLES']['skinImgAutoCfg']['iconSizeHeight']?$GLOBALS['TBE_STYLES']['skinImgAutoCfg']['iconSizeHeight']:12) 
. '" title="" alt="" />';

But i wonder why, Ernesto, don't you use t3skin?

second, IE, i saw that too. I forgot that IE calcs width different, so col 
has to be a little more width.

I will attach a new patch in a minute.

vg  Steffen 




More information about the TYPO3-team-core mailing list