PNG icons in ToolBars [message #464288] |
Sun, 20 November 2005 13:24  |
Eclipse User |
|
|
|
Originally posted by: ng.felicis.org
Hello together,
using PNG icons with transparency for the ToolBar looks pretty well on GTK,
but does not look well on Windows. I found the main bug entry in the
bugzilla system, but I couldn't clearly figure out if the problem has been
completely resolved yet. I made screenshots of my environments:
Linux with GTK 2: http://www.felicis.org/screenshot_toolbar_gtk.png
Windows XP: http://www.felicis.org/screenshot_toolbar_windows.png
One of the PNG files: http://www.felicis.org/zoomXPlus-22.png
Currently I load an image like that:
toolItem = new ToolItem(this.toolBar, SWT.PUSH);
ImageData imageData = new ImageData(filename);
Image image = new Image(SWTGeoGUI.iDisplay, imageData);
toolItem.setImage(image);
Is there a way I can have the ToolBar icons look as smooth on Windows as on
GTK without converting the PNGs to GIFs?
Martin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: PNG icons in ToolBars [message #464833 is a reply to message #464717] |
Wed, 30 November 2005 10:03  |
Eclipse User |
|
|
|
Originally posted by: karstendd.gmx.de
> Also, related question, I copied the manifest file
> javaw.exe.manifest, but
> Eclipse still doesn't use the Luna look. How come?
> My own SWT apps do
> hough.
>
You should check how many different "javaw.exe-files" are installed on your system. If you are using Windows it could be possible that Eclipse uses "javaw.exe" from the WINDOWS_HOME\system32-Directory. In this case you have to copy your manifest-file into the sytem32-Directory.
|
|
|
Powered by
FUDForum. Page generated in 0.16581 seconds