Author Topic: UIlabel bug.  (Read 3254 times)

vidjogamer

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 48
    • View Profile
UIlabel bug.
« on: May 20, 2014, 01:22:38 PM »
Hello, I have a label that I load text to dynamically. It is set to resize freely. It is anchored on the top, bottom and left. When text is loaded, it is meant to resize the label to the right based on length of the text. I even set Max Lines to 1. The problem is that in certain rare circumstances, the last letter ends up going to a new line when all I want is the label to stay on one line and resize to the right. I'm assuming this is a bug.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIlabel bug.
« Reply #1 on: May 20, 2014, 01:44:02 PM »
Sounds like a bug, yes. If you find some way to reproduce it consistently, I'd appreciate it. In the meantime, I advise you to only anchor top and left. Bottom and right should not be anchored if you have it set to resize.