Bug 239553 - Set Background color of ExpandItem of ExpandBar
Summary: Set Background color of ExpandItem of ExpandBar
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement with 10 votes (vote)
Target Milestone: ---   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-04 02:43 EDT by kent gibson CLA
Modified: 2021-01-18 12:45 EST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kent gibson CLA 2008-07-04 02:43:47 EDT
It would be nice to be able to set the background color of the ExpandItem of the ExpandBar.
Comment 1 Felipe Heidrich CLA 2009-01-08 17:03:06 EST
do you want set the background of the body or the header ?
you can change the background of the body by changing the background of the control that goes in the item.
Comment 2 tomasz85 CLA 2009-03-03 06:30:12 EST
I have the same issue, and I still can't find any sollution for this.
Comment 3 Felipe Heidrich CLA 2009-03-03 10:34:49 EST
The item has two parts: the header and the body.

Which one do you want to change the background color ?
Comment 4 tomasz85 CLA 2009-03-03 12:20:22 EST
I want to change header color, there is no problem with body color.
Comment 5 Mike Wilson CLA 2009-05-05 10:03:11 EDT
Changing version tag to something more believable.
Comment 6 Marcus Ilgner CLA 2010-10-26 08:00:54 EDT
I tried setting the background color of all of ExpandBar, ExpandItem and the surrounding Composite, but the background of the ExpandBar remains grey. (On Linux 64bit, SWT 3.6.1.)
Comment 7 Christoph Laeubrich CLA 2018-05-18 02:43:59 EDT
Same here, is this an OS limitation or something that can be changed in SWT?
Comment 8 Andy Maleh CLA 2020-11-23 20:44:40 EST
+1 on wanting this feature. It is not working on Mac Catalina. Setting the background property of ExpandBar does nothing.
Comment 9 luis pizarro CLA 2021-01-18 12:45:07 EST
+1 It would be great to be able to do this. Currently not working for us in macOS either.