Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Button's Background on ExpandBar not transparent
Button's Background on ExpandBar not transparent [message #505367] Tue, 29 December 2009 15:12 Go to next message
Michal Molhanec is currently offline Michal Molhanec
Messages: 2
Registered: July 2009
Junior Member
Hello,
in SWT 3.2 when I put e.g. checkbox button on expandbar, the button's background was transparent, so it looked like this:
http://molhanec.net/expandbar32.png
But in 3.5 (already in 3.4) it's not and it's ugly:
http://molhanec.net/expandbar35.png
The problem probably only occurs in with Windows Classic Theme (tested on WinXP and Win7). What can I do to fix that? Or is it a bug which I should report?

Thanks in advance,
Michal

P.S. The code I used for those pictures is standard SWT Snippet 223:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet223.java?view=co
Re: Button's Background on ExpandBar not transparent [message #505728 is a reply to message #505367] Mon, 04 January 2010 06:54 Go to previous messageGo to next message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
Hi Michal,

This looks like a bug so I've logged
https://bugs.eclipse.org/bugs/show_bug.cgi?id=298775 . I don't know of a
workaround to suggest (though, why use Classic theme on Windows XP or 7?).

Grant


"Michal Molhanec" <molsoft@seznam.cz> wrote in message
news:hhe9c8$r8h$1@build.eclipse.org...
> Hello,
> in SWT 3.2 when I put e.g. checkbox button on expandbar, the button's
background was transparent, so it looked like this:
>
> But in 3.5 (already in 3.4) it's not and it's ugly:
>
> The problem probably only occurs in with Windows Classic Theme (tested on
WinXP and Win7). What can I do to fix that? Or is it a bug which I should
report?
>
> Thanks in advance,
> Michal
>
> P.S. The code I used for those pictures is standard SWT Snippet 223:
>
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet223.java?view=co
Re: Button's Background on ExpandBar not transparent [message #505730 is a reply to message #505728] Mon, 04 January 2010 07:14 Go to previous message
Michal Molhanec is currently offline Michal Molhanec
Messages: 2
Registered: July 2009
Junior Member
Hi Grant,
thank you.
Michal
Previous Topic:button text color change
Next Topic:Widget is disposed error on Windows 7
Goto Forum:
  


Current Time: Sat Jul 26 01:13:10 EDT 2014

Powered by FUDForum. Page generated in 0.13524 seconds