[TYPO3-core] RFC #16939: ExtJS Tooltip / CSH styling
Jeff Segars
jsegars at alumni.rice.edu
Mon Jan 10 23:06:07 CET 2011
On 1/10/11 2:58 PM, Steffen Gebert wrote:
>> It's unrelated to this patch, but I notice that the CSH container is
>> narrower on the first load for each field and then wider on subsequent
>> loads. Any idea what might be going on there?
>
> Should be fixed with this patch. It replaces the empty text, until the
> first CSH text is loaded with "Loading..." (which spans up the container)
>
>
> Kind regards
> Steffen
>
I think the issue I'm seeing is that the CSH has a width based on the
"Loading..." text for its first load. The next load of the same CSH
uses the actual help text and ends up being wider. This is a very minor
issue but is easily seen by allowing the CSH to load, mousing away, and
then coming back to the same CSH.
Adding a call to tip.doAutoWidth() inside updateTip() seems to fix it
for me by recalculating the width after the text has been changed.
Thanks,
Jeff
More information about the TYPO3-team-core
mailing list