1. #1

    Custom Chatframe

    I started to do some minor edits on my ui. But I got two problems with the chatframe.

    1. The text sticks at the border. I want a few pixels space between text and border. How can I get an effect like padding in CSS?
    2. How can I remove the original background of the editbox? With SetBackdrop I just add an extra border.



    - - - Updated - - -

    Ok, this should be able with

    Code:
    ChatFrame1Background:SetTexture(background)
    ChatFrame1Background:SetPoint("TOPRIGHT", 10, 10)
    ChatFrame1TopRightTexture:SetPoint("TOPRIGHT", 5, 0)

    and so forth.

    Doing this in lua feels a bit clumsily though. Is there a way to use a modified FloatingChatFrame.xml, which I got from the Blizzard UI Pack?
    Last edited by Urtgard; 2014-06-24 at 10:14 PM.

  2. #2
    After some more testing, this is what I got in combination with Prat:


    What do you think? Any ideas what I can do with the FriendsButton?
    Would be nice, if someone could check the code for mistakes: http://pastebin.com/q6HQiUDG

    If you like it, complete package with the button etc: http://www35.zippyshare.com/v/11661149/file.html

Posting Permissions

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