Project: Eclipse_Platform_UI
Bug 2777 [UI] Minor: ugly style in ContentOutlinePage (1GJ6IFJ)
Reported: 2001-10-10 22:43:21 | Status: resolved fixed

ContentOutlinePage creates a tree viewer that has the SWT.BORDER bit set. This looks ugly because it is in the content outline view, and the extra border is not necessary. For example, compare the readme example content outline (which uses the default viewer) to the java content outline (which creates its own widgets), and you'll see that the ugly border in the readme outline stands out. Simple fix: create the viewer without a border by default. Fancy fix: put the viewer creation in a protected method so subclasses can override it. NOTES:

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI Standard Components/org/eclipse/ui/views/contentoutline/ContentOutlinePage.java