[ CTabFolder ] setting color of deselected (unselected) tabitems [message #441686] |
Thu, 19 August 2004 20:54 |
Eclipse User |
|
|
|
Originally posted by: v.j.b
hello,
we're using the CTabFolder in a standalone swt app, and found that there is
no way to set the backgroundcolor for a disabled (unselected, as they are
called in source) TabItem. Deselected TabItems are currently always painted
with the bgcolor set on the parent TabFolder.
I found some methods that are internal to CTabFolder, namely
setBackground(int[] colors, etc), but since they only take an int array of
colors, only SWT colors can be used.
The setImage method sets an image on 'unselected' TabItems (and on the
entire 'bar' at the top). So it seems there is no way to set the
backgroundcolor of deselected CTabItems.
Is this something to enter an enhancement request for in Bugzilla?
tnx in advance
PS: on a side note: it might be nice to be able to set the backgroundcolor
of the horizontal 'bar' at the top of the CTabFolder, the area where the
tabs are painted on. This area currently takes on the backgroundcolor of the
CTabFolder.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03493 seconds