Bug 80180 - [consistency] toolbars on the Mac do not respond to setBackground()
Summary: [consistency] toolbars on the Mac do not respond to setBackground()
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords: consistency
Depends on:
Blocks: 81289 85509
  Show dependency tree
 
Reported: 2004-12-03 17:20 EST by Michael Van Meekeren CLA
Modified: 2005-05-20 16:05 EDT (History)
3 users (show)

See Also:


Attachments
toolbar on top right is grey while code calls setbackground (123.25 KB, image/tiff)
2004-12-03 17:21 EST, Michael Van Meekeren CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Van Meekeren CLA 2004-12-03 17:20:25 EST
see attached image.  i would like to set the toolbar background to White in this case.
Comment 1 Michael Van Meekeren CLA 2004-12-03 17:21:21 EST
Created attachment 16353 [details]
toolbar on top right is grey while code calls setbackground
Comment 2 Todd Brackett CLA 2005-04-15 16:27:45 EDT
Is the SWT control setBackground (org.eclipse.swt.custom.CLabel)?  What is the underlying Carbon API?

Comment 3 Veronika Irvine CLA 2005-04-18 10:07:08 EDT
The SWT widget in this case is org.eclipse.swt.widgets.ToolBar.

This is created in Carbon using CreateUserPaneControl and CreateIconControl 
for each item in the toolbar.
Comment 4 Todd Brackett CLA 2005-05-04 19:03:29 EDT
In non-compositing mode, most (if not all) of our controls will erase before they draw. The icon control is 
no exception. A client that wants to customize the background that a control uses to erase in non-
compositing mode should use SetControlColorProc.
Comment 5 Silenio Quarti CLA 2005-05-20 16:05:29 EDT
Fixed > 20050520.