I want to make the tooltip scrollable in draw2D, just like in Eclipse when you call out the Content Assist window. Can anyone help me?
Thank you in advance!
I want to make the tooltip scrollable in draw2D, just like in Eclipse when you call out the Content Assist window. Can anyone help me?
Thank you in advance!
I have never tried it, but I see no reason why using a
org.eclipse.draw2d.ScrollPane
in your tooltip shouldn't work. You will probably have to put theScrollPane
into another figure to restrict its size. Otherwise I suspect theScrollPane
(and with it the whole tooltip) would just have the preferred size of its content -> no scrolling.