Project: SWT
Bug 158243 Background for read only Text objects is wrong in dialogs.
Reported: 2006-09-21 20:06:53 | Status: resolved fixed

Look at any of the error messages at the top of any Property Page, the background is white but should be the striped aqua background. The fix is simple really, since these controls use HITextView all you have to do is call HITextViewSetBackgroundColor with null as the color param. I would presume SWT could do this on the OS X implementation when setBackground is called with null as the color, and then the ImageAndMessageArea could call setBackground(null). I made the changes locally and it seems to fix the problem just fine.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java