[TIMOB-722] height/width auto on a label = blurry text
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:02.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.3.0 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Blain Hamon |
Created | 2011-04-15T02:35:08.000+0000 |
Updated | 2012-02-02T07:45:03.000+0000 |
Description
see kitchen sink - just switch tabs or run Base UI => Custom Events
See also https://appcelerator.lighthouseapp.com/projects/32238/tickets/539-text-anti-aliasing-on-tableview-labels-after-scrolling-back-on-to-the-screen"> this thread.
Issue appears to show up when using odd width (or height) values, which sets the center point of the label on a fractional value. This seems to have the same effect as having the origin point on a fractional value - text is presented 'blurred'.
We handle this by rounding the center point to its nearest integer value for text display (something which [UILabel setFrame:] seems to do on its own).
(from [c21b7ca945bc2b6fc5e60f91028ede80d7451604]) Closes #722. Force UILabels to be centered on integer values. http://github.com/appcelerator/titanium_mobile/commit/c21b7ca945bc2b6fc5e60f91028ede80d7451604"> http://github.com/appcelerator/titanium_mobile/commit/c21b7ca945bc2...
Hi,
See my comment on this thread - I am still seeing some inconsistency with the anti-aliasing/blurring when labels are used in a tableView within a vertical layour view in each row.
https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/539-text-anti-aliasing-on-tableview-labels-after-scrolling-back-on-to-the-screen#ticket-539-5"> https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...
See my comments on #539. TableRowViews may require special code to prevent blur due to dynamic loading. This should be considered a separate issue.
I think we're seeing this issue again in recent versions of Ti Mobile (1.8.0.1) http://developer.appcelerator.com/question/131415/blurry-text-fix