Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsGradients in CTabFolder
https://www.eclipse.org/forums/index.php/mv/msg/142238/448026/#msg_448026
I'd like to get the same kind of gradients
in the selected tab of a CTabFolder like the
ones used in the Eclipse editor tabs. When
using CTabFolder#setSelectionBackground() with
vertical==false, the gradient spreads about
the whole CTabFolder width, but I'd like to
get a gradient just about the width of the
currently selected tab. Any ideas ?
TIA,
Axel]]>Axel Schlueter2004-12-26T22:49:57-00:00Re: Gradients in CTabFolder
https://www.eclipse.org/forums/index.php/mv/msg/142238/448091/#msg_448091
component, and put CLabel (with gradient) as a "top left" component.
Hope that helps, Rein
Axel Schlueter wrote:
> Hi,
> I'd like to get the same kind of gradients
> in the selected tab of a CTabFolder like the
> ones used in the Eclipse editor tabs. When
> using CTabFolder#setSelectionBackground() with
> vertical==false, the gradient spreads about
> the whole CTabFolder width, but I'd like to
> get a gradient just about the width of the
> currently selected tab. Any ideas ?