Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Strange side effect of Button.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


Back to the top