Bug 205199 - [Win32] setImage(null) on Label overrides text

Label need to change some stylebits when changing from showing image to
text and vica versa. This failed for some change orders e.g. when
calling setText then setImage then remove image with setImage(null)
nothing was rendered in the end.

Includes a example to show result from different invocation orders of
setText and setImage on a single label.

Change-Id: I0c258c19ff131ab4a35d441ffec700ef5eeb7b49
Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2 files changed
tree: b7b027d38b1d4fcd1598c108f4fe513f4a446229
  1. bundles/
  2. examples/
  3. features/
  4. local-build/
  5. tests/
  6. .gitignore
  7. CONTRIBUTING
  8. LICENSE
  9. NOTICE
  10. pom.xml
  11. README.md
README.md

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

See the following description for how to contribute a feature or a bug fix to SWT.

Information regarding source code management, builds, coding standards, and more and be found under the following link.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

Contact:

Contact the project developers via the project's “dev” list.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!