Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-23-14, 07:09 PM   #1
MaLarsson
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 13
Multi-line editbox

What I want is a 300x300 px big editbox in which multiple lines can be writen, this is the code I have:
Lua Code:
  1. local editBoxSpells = CreateFrame("EditBox", "DoTrackerEditBoxSpells", menu, "InputBoxTemplate")
  2. editBoxSpells:SetMultiLine(true)
  3. editBoxSpells:SetSize(300, 300)
  4. editBoxSpells:SetPoint("TOPLEFT", 300, -107)
  5. editBoxSpells:SetAutoFocus(false)
  6. editBoxSpells:SetText("test")
  7. editBoxSpells:SetCursorPosition(0)
  8. editBoxSpells:SetFont("Fonts\\FRIZQT__.TTF", 10)
  9. editBoxSpells:SetJustifyH("LEFT")
  10. editBoxSpells:SetJustifyV("CENTER")
The problem I have is this:


The background and border of the editbox does not fill up the entire 300x300 px big editbox.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Multi-line editbox


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off