commit | 3766440924781bde917d540b5ac6669f02d7ea2a | [log] [tgz] |
---|---|---|
author | angelozerr <angelo.zerr@gmail.com> | Thu Feb 08 16:38:45 2018 +0100 |
committer | Mickael Istria <mistria@redhat.com> | Fri Feb 09 09:58:59 2018 +0100 |
tree | c582668582278f67d94969b3bfe63bc8baaa193b | |
parent | 3c4665abe8a2be128943024ce94a3e6b73909aa1 [diff] |
Bug 529570 - Performance problem with StyledText and line spacing Whenever possible, compute the lineHeight directly from widget state instead of using TextLayout to compute line height. TextLayout does some offscreen approximative rendering of the text to compute the size, this is a quite expensive operation that should be avoided whenever possible. Change-Id: Ic1f3dfbdecd5c3c65f612b2a19ad71df399687c8 Signed-off-by: angelozerr <angelo.zerr@gmail.com> Also-By: Mickael Istria <mistria@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!