java - Style TreeViewer's scrollbar -


i have editor has both draw2d tree , nebula's gridtreeviewer (basically jface treeviewer). need working, except scrollbars. in draw2d scrollbars provided org.eclipse.draw2d.scrollpane , in gridtreeviewer scrollbars jface. not sure why, scrollbars different, expect them same since calling os's native controls if not mistaken? there reason why scrollbars different , there way "downgrade" jface's scrollbars draw2d's? perhaps there mistake in setting scrollpane's scrollbars?

here screenshot, on ubuntu 13.04:

enter image description here

there no mistake on side. leftmost tree has custom-drawn scrollbar (i assume that's draw2d tree) , rightmost tree shows native scrollbar (i guess ones call "jface"). can notice applications outside of eclipse show scrollbars "jface" ones. is, if ubuntu overlay scrollbars enabled.

there no easy fix this. imho, try in draw2d sources , try disabling custom-drawn , replacing them native ones (from swt). or use custom tree instead on nebula control...

please note "jface" toolbars drastically different on mac os x or windows, have different size , such. , users expect them :)


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -