I started to do some minor edits on my ui. But I got two problems with the chatframe.
- 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?
- 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?