Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Label in a view in a row = random blurry text (bug)

If you have a label inside of a view which is inside of a row, the text seems to randomly display as blurry. This happens on both the device and in the simulator.

Here is some sample code:
app.js
functions.js

To reproduce the problem, just keep hitting "refresh" - the bug seems to happen about once every 10 refreshes, on average. It appears to be a result of using a className for the row, but that's a mandatory performance optimization for my full app. Anyone have an idea on a work-around?

— asked November 2nd 2010 by Mike Dosey
  • blurry
  • bug
  • crisp
  • font
  • fuzzy
  • iphone
  • label
  • mobile
  • row
  • tableview
  • text
  • view
0 Comments

7 Answers

  • Accepted Answer

    I even use 1.5 with iOs SDK 4.0 and it works fine.

    You don't have to update your iOs SDK.

    As far as I know the height issues are fixed in Ti SDK > 1.4.2, but if you don't manage let me know and I'll run a test for you.

    — answered November 2nd 2010 by Dan Tamas
    permalink
    0 Comments
  • Try to avoid too many "auto" for height and width in imbricated views( whatever these are ).

    In your case the view has no reason to exist.

    You can add the label to the row directly.

    Besides this add a font:{fontSize:some_value} to the label.

    Let me know.

    — answered November 2nd 2010 by Dan Tamas
    permalink
    0 Comments
  • Hi, Tamas. I am adding the label to the view in order to work around a different Titanium bug.

    As for setting the height, it seems that it has to be specified on the label, the view, and the row - I've tried removing it from each individual one, and it no longer displays correctly. I have to set the height to 'auto' because the text in my full app has a varying number of rows.

    Explicitly specifying the font size does not have any effect on this problem, unfortunately. I really appreciate your suggestions, though.

    — answered November 2nd 2010 by Mike Dosey
    permalink
    0 Comments
  • What SDK are you using ? can u try with one form the continuous builds?
    http://builds.appcelerator.com.s3.amazonaws.com/index.html

    — answered November 2nd 2010 by Dan Tamas
    permalink
    0 Comments
  • I am using 1.4.1.1 with iPhone SDK 4.1. I've downloaded the 1.4.2 continuous build for Nov. 2nd, but I guess I need to update to iPhone SDK 4.2 to test with that. Were you able to confirm the problems with the continuous build, by any chance? I'm not quite ready to update my iPhone SDK.

    — answered November 2nd 2010 by Mike Dosey
    permalink
    0 Comments
  • It does seem to be fixed in 1.4.2 continuous, though I can still see the table rows wiggle or "jump" into place occasionally. Unfortunately, the keyboard doesn't seem to display at all in 1.4.2 for me, so I might have to wait for the official release.

    — answered November 5th 2010 by Mike Dosey
    permalink
    0 Comments
  • I am still seeing this issue using iOS5 SDK with the Ti Continuous build SDK.

    — answered November 1st 2011 by Todd Soligo
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.