1. #1
    Mechagnome MayronEU's Avatar
    Join Date
    Mar 2012
    Location
    England
    Posts
    571

    Is there a way to Justify text in KgPanels?

    Hi, I have placed text inside a frame with KgPanels however by default KgPanels will center the text and there is no option to align it left or right so I used this code to do it:

    Code:
    self.text:SetTextColor(1,1,1)
    self.text:SetFont("Fonts\\FRIZQT__.ttf", 11, "THINOUTLINE")
    self.text:SetJustifyH("LEFT")
    however the 3rd line does not work. It still is centered. What am I doing wrong?
    Thanks

    ---------- Post added 2012-11-04 at 01:56 PM ----------

    Never Mind I no longer need to know this as I changed around the frames so that it is not a problem. Not sure why it did not work since after looking around online, it should have... Oh well thank you anyway. Wish I could delete this post...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •