Created attachment 108242 [details]
What's New tab with added tooltip
Majority of headers (head lines) in the What's New tab on the welcome screen (start page) are shorten, since they are too wide and cannot fit into the column width. In order to grasp the topic of some article, announcement or blog the user has to open desired link.
When the users places mouse over a shorten header (head line) show tooltip having the entire text of a header.
For example if header is shorten to Microchip migrates MPLAB to Linux and Mac... in tool tip will be displayed the entire header: Microchip migrates MPLAB to Linux and Mac OS with NetBeans IDE. Please see attached image.
good idea, a patch would be very welcomed
(In reply to comment #1)
> good idea, a patch would be very welcomed
nice try. web developer on the other side. ;) anyway, it is not that i am complete java illiterate but i will need at least some guidance.
i guess you should start with org.netbeans.modules.welcome.content.LinkButton class in 'welcome' module
(In reply to comment #3)
> i guess you should start with org.netbeans.modules.welcome.content.LinkButton
> class in 'welcome' module
great. thanks. i will give it a try during the weekend.
Created attachment 108542 [details]
Showing the entire link text in tooltip
I can't figure how to change ugly yellowish background color. :(
What am I doing wrong?
Created attachment 108564 [details]
Enhanced Tooltip with rounded corners and positioned within window
This version is way much better. :)
I am not sure about feel and look and position of tooltip. However those are cosmetic changes.
Created attachment 108565 [details]
Screenshot of tooltip in What's New tab
thanks for the patch. i've got some questions though:
- why rounded corners? why not use the default tooltip look and feel? if somebody runs the same code on e.g. ms windows the tooltip won't look native...
- you've got some System.err debug messages left in the patch
- it would be nice if the tooltip was showing only when the link button isn't wide enough to paint the whole text.
Added to list of community fixed issues.
(In reply to comment #8)
> thanks for the patch. i've got some questions though:
> - why rounded corners? why not use the default tooltip look and feel? if
> somebody runs the same code on e.g. ms windows the tooltip won't look native...
I naively assumed that only we web developers have to deal with such problems. :(
Default tooltip LAF is just ugly and every corner on the welcome screen is rounded. Anyways, it does not look that bad on XP. I think that I will mange to make it OK. If not, then, well, default LAF is always there. :)
> - you've got some System.err debug messages left in the patch
I will remove it.
> - it would be nice if the tooltip was showing only when the link button isn't
> wide enough to paint the whole text.
Right, I noticed it after submitting the patch. I will take care of it as well.
Created attachment 108631 [details]
NB running on XP
Created attachment 108632 [details]
NB running on XP - detail