Bug 534692 - Scrollbar area in compare editor too small

The fix for bug 533799 causes a regression, which manifests as a
too-short vertical scroll bar in the Compare Editor.

The regression is caused by changing the implementation of
Scrollable.hScrollBarWidth() to return the width instead of the height
of the computed GTK preferred size requisition. This was due to an
oversight during refactoring.

This change restores the original API functionality, in return fixing
the layout of the compare editor.

Change-Id: I776df3efd8811b8a5fd2360691396d72cc3a6a3f
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
3 files changed
tree: 1a46fd176423eb417aaa7e46e9931a40a0b6e6c8
  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!