PDA

View Full Version : Neptune Tooltip Size



antoine.kahale
17 Sep 2013, 12:17 AM
Hello,
I am using the neptune sencha theme version 4.2.1.
The tooltip is truncated and it's not proportional with the text.
I am using this tooltip with the tab Component, charts and grid pagination.
I add these 3 css classes:

.x-tip { width: auto !important ;}.x-tip-body { width: auto !important ;}.x-tip-body span { width: auto !important ;}Any combination of this 3 classes only seems to apply to 2 out of 3 tooltips i am using (attached samples).Waiting for your feedback, how to fix these tooltips for our 3 usages.Best regards,Antoine

ettavolt
17 Sep 2013, 8:08 AM
If you don't set title of component but rather a text for body, tip should grow automatically.

antoine.kahale
17 Sep 2013, 11:20 PM
Thanks for your reply it works:)
So instead of using this.setTitle(....) , i use this.html = ...

ettavolt
18 Sep 2013, 12:43 AM
You should better use this.update(...) and don't create a new tooltip each time you show it.