Author Topic: when i use "Resize Height" in UILable, i meet a problem.  (Read 3347 times)

woshihuo12

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
when i use "Resize Height" in UILable, i meet a problem.
« on: May 26, 2015, 10:51:31 PM »
when i use UILabel with "Resize Height", i want add some space in first row like this
""""""""""""""""""""""""""""""""
"    aaaaaaaaaaaaaaaaaaaaa
"bbbbbbbbbbbbbbbbbbbbbbb
"    cccccccccccccccccccccccc
"dddddddddddddddddddddd
""""""""""""""""""""""""""""""""
so i add some spaces befroe "aaaaaaaaa", but the first line take some new lines while not make some spaces before...
like this:
'''''''''''''''''''''''''''''''''''''''''''''''''''
"
"
"aaaaaaaaaaaaaaaaaaa
"bbbbbbbbbbbbbbbbbb
"    ccccccccccccccccccc
"dddddddddddddddddd
"""""""""""""""""""""""""""""""

woshihuo12

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: when i use "Resize Height" in UILable, i meet a problem.
« Reply #1 on: June 25, 2015, 09:32:29 PM »
can someone help me??

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: when i use "Resize Height" in UILable, i meet a problem.
« Reply #2 on: June 29, 2015, 06:48:52 AM »
If you need that kind of spacing, use a right pivot, not a left one.