Bug 541720 - [Gtk3] Regression: TableColumn.pack() clears header in 4.9

Previous patch (https://git.eclipse.org/r/#/c/126904/ )fixes table
appearing as thin line by always showing the table before getting the
preferred size, and hiding it afterwards. This caused a regression that
when the second time pack() is called, it always hides the header. This
patch fixes this by only hiding the header when it is not suppose to be

Change-Id: I7cbe06cb36a7ae7b18a52010361f5c575d88ff0b
Signed-off-by: Xi Yan <xixiyan@redhat.com>
2 files changed
tree: 2f9ee7fdcb765f096a11a80ecdb73e478e582bb7
  1. .gitignore
  5. README.md
  6. bundles/
  7. examples/
  8. features/
  9. local-build/
  10. pom.xml
  11. tests/

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 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!