I use netbeans with cmake for C++ project development. Netbeans detects library dependencies and shows them as folders in the project tree. It shows the library name, followed by a hyphen and then the path to the library's folder, e.g. 'depends - /home/user/hg-repos/common/projects/blah/foo/depends'.
Showing the entire path makes the Projects tree widget need a horizontal scrollbar. The horizontal scroll bar is a bit annoying, since I rarely want to see what that full path is, but often when using the mouse-wheel over the project tree the pane uselessly scrolls horizontally instead of vertically.
I suggest, that instead of showing the entire path, the text should be truncated to fit the size of the pane. Truncated paths would use an ellipsis (...) to indicate that they have been truncated. Resizing the pane would allow you to see the entire path.