Skip to main content


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 20:12 Go to next message
Michal Molhanec is currently offline Michal MolhanecFriend
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 11:54 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
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 12:14 Go to previous message
Michal Molhanec is currently offline Michal MolhanecFriend
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: Mon Dec 09 09:15:56 GMT 2024

Powered by FUDForum. Page generated in 0.02668 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top