Why my TableCell show in not good status?

Discussion in 'iOS Programming' started by mikezang, Jul 17, 2010.

  1. macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #1
    I made a table view app with subviews in TableViewCell, but when I run it, I got screen as below, I want to know why, please help me to solve this simple problem.
     

    Attached Files:

  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    You might want to describe the problem. What did you expect to see?
     
  3. thread starter macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #3
    sorry that I forgot to describe my question, you can see the text in table cell, they seem like compressed, I mean shorter in height, only 3rd row looks like correct, any row else strange, can you confirm it?
     
  4. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    I'm not about to download your project and fix your code but I would guess you've set the cells to be pretty narrow and the text is scaled to fit the narrow cell.
     
  5. thread starter macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #5
    I tried to increase height, but I got the same result. you can see picture as below.
     

    Attached Files:

  6. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #6
    I did not suggest you increate the height. I suggested you increase the width.
     
  7. thread starter macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #7
    Thanks, sir! I got it!

    By the way , is it possible to let label in autosize status?
     

Share This Page