Community
Participate
Working Groups
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:
PRODUCT VERSION: 0.131
Check if this is still a problem and if so, what your proposed solution(s) is.
Although I could not find the mentioned readme example, according to the code for the ContentOutlinePage class and TreeViewer class, the border is still being created. My proposed solution is to create the TreeViewer for the ContentOutlinePage without a border by default. This will get rid of the ugly extra border and make the default content outline consistent with the Java content outline.
Fix applied and will be in build > 2005-01-25