commit | 133ff2c44262645cab8b617b0cf983f04cad10ed | [log] [tgz] |
---|---|---|
author | Eric Williams <ericwill@redhat.com> | Wed Jul 24 10:49:48 2019 -0400 |
committer | Eric Williams <ericwill@redhat.com> | Wed Jul 31 15:31:29 2019 -0400 |
tree | 380b55125903d96f51df5dba117543eab3508246 | |
parent | 007b221587caa5b7cb16ad14189f664a13456262 [diff] |
Bug 546490: [GTK] Incorrect Table/Tree size Address Tree sizing issues. The majority of the issues stem from the fact that GTK reports a 1x1 size for Widgets which are not visible. This afflicts columns in Trees/Tables, and throws of computeSize() values. This patch addresses this by initially setting the column buttons visible whenever doing a pack() or computeSize() operation. Further more, GtkScrolledWindows without scrollbars sometimes do not change their size, likely due to caching. In order to work around, we check if the Tree has an initial computed height equalling the header height, and bump that height by 1px to trigger a resize. Tested on GTK3.24 on X11 and Wayland. No AllNonBrowser JUnit tests fail. Change-Id: I7e6bc4940e9b026a30b81e1993ab09c7d5332753 Signed-off-by: Eric Williams <ericwill@redhat.com>
Thanks for your interest in this project.
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.
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.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!