Author Topic: UILabel - How to make "justified"align right to left?  (Read 6198 times)

Melkor

  • Newbie
  • *
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 9
  • Whats the point of your existence?
    • View Profile
    • Denora Game Studios
UILabel - How to make "justified"align right to left?
« on: November 25, 2014, 10:04:53 AM »
Hi,

I spent a good amount of time to make it align right to left but i couldn't make it :| I am a newbie in programming ;/

So how can i make to align right to left? any thoughts? O_O

The pic shows my problem o_o its left to right but the lang i use is written from right to left.
None are more hopelessly enslaved than those who falsely believe they are free.

windsky527

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 11
    • View Profile
Re: UILabel - How to make "justified"align right to left?
« Reply #1 on: November 26, 2014, 12:27:58 AM »
you can set alignment to right...maybe your ngui verson is too old...

Melkor

  • Newbie
  • *
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 9
  • Whats the point of your existence?
    • View Profile
    • Denora Game Studios
Re: UILabel - How to make "justified"align right to left?
« Reply #2 on: November 26, 2014, 01:53:54 AM »
you can set alignment to right...maybe your ngui verson is too old...

Thanks for the answer, i appreciate it but please read the question: How to make "justified"align right to left?
There is options for aligning the text RTL, LTR, Center and Justified, i want to use justify, justify makes the text align LTR by default, i want RTL.
None are more hopelessly enslaved than those who falsely believe they are free.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UILabel - How to make "justified"align right to left?
« Reply #3 on: November 26, 2014, 08:22:40 PM »
NGUI doesn't support RTL languages, so if you're a newbie in programming you're off to a bad start here, as it would involve quite a bit of coding modifying NGUI itself. There isn't much I can suggest here.

pdelaossa

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
    • View Profile
Re: UILabel - How to make "justified"align right to left?
« Reply #4 on: November 27, 2014, 04:57:00 AM »
Just look for an Unity RTL plugin that parses the text, and write down said text to the UILabel.