Bug 483112:[GTK3] TreeItems with multiple columns only show images in
the first one

This patch fixes a regression from bug 469277, where Trees with multiple
columns only display images in the first column. 

The problem lies with pixbufRenderers in other columns (other than the
first) not having their size set properly, resulting in no image being
displayed at all. The solution to this problem is to check columns as
images are being added to them, and compare the size of the
pixbufRenderer for that column to the size of the initial image set. If
there is a discrepancy, adjust the size of that column's pixbufRenderer
to the size of the initial image. 

Tested on GTK3.18, GTK3.16, GTK3.14, GTK3.8, and GTK2.24. AllNonBrowser
JUnit tests pass on GTK2 and GTK3.

Change-Id: I97d25431787ff6a1080f8e56e1d771c0b69d28a5
Signed-off-by: Eric Williams <ericwill@redhat.com>
1 file changed
tree: 7c29e1ad05da89b352a46f9dd75ddd4209cc0526
  1. bundles/
  2. examples/
  3. features/
  4. local-build/
  5. tests/
  6. .gitignore
  7. pom.xml
  8. README.md
README.md

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

Information regarding source code management, builds, coding standards, and more.

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!