Community
Participate
Working Groups
I20100311-1616 If the Help/Content preference page is set to "Include local help only" the table titles show up as being mostly white but there is a gray sliver at the right of the title. What's more that sliver of gray remains when I click one of the other radio buttons. Recommendations 1. Make the title gray when disabled 2. Make the background of the title the same color as the title
Created attachment 161904 [details] Screenshot
Jim, can you fix this?
Created attachment 162257 [details] Screenshot - 'Windows Xp' Theme In SWT, table's look-n-feel would be similar to that of Operating System. In Windows Xp/Window Classic theme, table header looks fine.
Created attachment 162258 [details] Screenshot - Windows Explorer - 'IBM' Theme IBM theme --> Table header always looks whitish with gray background in both Eclipse and Windows Explorer. In Eclipse Preferences dialog, go to: Ant->Editor->Templates Install/Update->Available Software Sites Java->Compiler->Task Tags All looks the same, whitish table header with gray background.
Created attachment 162300 [details] Patch fixing gray sliver on the preference page Added fix for using ColumnWeightData which provides a minimum column size but is resized automatically based on the header width. This patch does not include a fix for making the text gray for the remote help options that are not selected. I will upload a new patch with this fix.
The header not gray when the SWT table is disabled is an SWT theme issue rather than a bug in Eclipse. In SWT, the table's look-n-feel would be similar to that of Operating System. In Windows Xp/Window Classic theme, the table header looks fine. However, with the IBM theme, the table header has the white coloring. There are a few instances of an SWT table in Eclipse, and all show the same behavior. There is no convenient API for accessing the Table header directly and applying styles to it. Table.setBackground() does not impact the header. Also, Display.setBackground() and Shell.setBackground() do not affect the table. This appears to be working as designed. We could make the header not visible if the table is disabled, but we may not want to do that from a usability standpoint.
Chris Austin, can you review and commit Jim's patch?
Added 2010 to the Copyright for RemoteICViewer.java. Otherwise, looks good, patch committed to HEAD.
Closing bug as Fixed.