[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [platform-swt-dev] Strange side effect ofButton.setImage(Image img) method
|
Hi Steve,
i already tried that. If I run out of a jar file it works but if I compile
to a native executable wrapper (Launch4J) it doesn't. How do I generate a
manifest for a native executable? Renaming the manifest to match the
executable doesn't help. Any ideas?
Regards
Sebastian
________________________________________
From: platform-swt-dev-bounces@xxxxxxxxxxx
[mailto:platform-swt-dev-bounces@xxxxxxxxxxx] On Behalf Of Steve Northover
Sent: Monday, November 14, 2005 8:11 PM
To: Eclipse Platform SWT component developers list.
Subject: Re: [platform-swt-dev] Strange side effect ofButton.setImage(Image
img) method
Try running with the XP manifest. See
http://www.eclipse.org/swt/faq.php#xpthemes
Sebastian Machhausen <sebastian.machhausen@xxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
11/13/2005 12:56 PM
Please respond to
"Eclipse Platform SWT component developers list."
To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] Strange side effect of Button.setImage(Image img)
method
Using the new setImage(Image img) method of the
org.eclipse.swt.widgets.Button class in 3.2M3 causes a strange side effect.
If I use it inside the eclipse ide everything works. Button text and image
are shown at the same time as it should be. But if I deploy my application,
i.e. compile it to a native executable on Win32, the button texts disappear
and only the images are displayed. If I omit the setImage(Image img) calls
the texts are displayed. Any suggestions how to solve this issue? I use the
setImage(Image img) method inside the createButtonsForButtonBar(Composite
parent) method of org.eclipse.jface.dialogs.TitleAreaDialog but that
shouldn't matter I think.
Regards
Sebastian Machhausen
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev