Bug 533799 - shrinking trees/tables can cause errors on standard error

Resizing a GTK tree view so that the column header and the horizontal
scrollbar overlap causes pixman bug error messages on standard error.
Using standard GTK3 API, it doesn't seem possible to resize the table
the tree view in such a way. SWT on the other hand allows this.

This change ensures that the SWT fixed which contains the tree or table
is resized as requested by resize operation, while the tree or table
retains some minimum height to avoid the error. In result, parts of the
horizontal scrollbar are no longer visible, when the tree or table is
shrinked below about 40px, the column headers and the horizontal
scrollbar are visible.

Change-Id: I3b39596a0f4eba3e1bbb259ab30d9d8744bb62c1
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
4 files changed
tree: 3dc6f940c0ec316cbc659906039bca398102b341
  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:

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!