Fix for bug 562126 SWT Toolbar not Visible with Certain Scaling Factors (HiDPI)

The option TBSTYLE_EX_HIDECLIPPEDBUTTONS hides toolbar items completely instead of clipping them.
A slight reduction in size can happen on certain scaling factors for a sequence of computeSize, setSize on certain scaling factors as
described in the bug description. I think it is in general better to show a slightly clipped button than nothing at all, but this
should be reviewed.

Change-Id: If70bac6b8efd8a33f58fa6b5468d9466fe0d0ad1
Signed-off-by: Thomas Rohwer <trohwer85@gmail.com>
1 file changed
tree: 320bb944703ce02c1d69481fb55769448947e14f
  1. .gitignore
  2. CONTRIBUTING
  3. LICENSE
  4. NOTICE
  5. README.md
  6. bundles/
  7. container/
  8. examples/
  9. features/
  10. local-build/
  11. pom.xml
  12. tests/
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!