enyo / opentip

Opentip is an open source javascript tooltip based on the protoype framework.
http://www.opentip.org
1.25k stars 401 forks source link

Issue to format/wrap properly long text into a Tooltip popup. #47

Closed SimoneTaliercio closed 11 years ago

SimoneTaliercio commented 11 years ago

Hi All,

I would ask how works the algorithm which is in charge to display properly long text. In fact, I'm experiencing some issue with 'strange' file names. Those file names are programmatically used as text for a tooltip. See the screenshot for more detail.

Thanks for the support and overall the GREAT job done behind this plugin and dropzonejs!

Kind Regards, Simone

Screen shot 2013-04-15 at 10 51 22 AM

enyo commented 11 years ago

Hi This is mostly done with CSS. There's a max-width property that's why it doesn't resize more. You can just overwrite the max-width if you want the tooltip to be wider. Or you could check for long words and add a space yourself.

Glad you like my work!

Cheers

SimoneTaliercio commented 11 years ago

Thanks Matias for your fast reply!

Tomorrow morning I'll try to play around with the max-width property.

And, I don't like your work... I love it! ;-)