Bug 572943 - [gtk] First Radio Button is truncated with Gridlayout

- Problem is not with the GridLayout but how the button calculates its
size. The button size calculation seems to be incorrect when the
selection of the radio button is active before setting of the text

- Solution: Enforce selection of the radio button until after the font
has been set. Workaround is similar to Combo.setFontDescription

Change-Id: I62cb20ddaf60dd321ed9046b1d8835612be34ef0
Signed-off-by: Paul D'Pong <sdamrong@redhat.com>
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/179684
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
1 file changed
tree: 229f2fa681117d593df9c0931f27e580e28c5ddc
  1. .gitignore
  5. README.md
  6. bundles/
  7. container/
  8. examples/
  9. features/
  10. local-build/
  11. pom.xml
  12. 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!