View Single Post
02-23-21, 03:32 PM   #3
BloodLilly
A Murloc Raider
Join Date: Feb 2021
Posts: 4
How would I anchor it so that it scrolls?

I've managed to get it done to a standard using in-game commands. Attached is an image of how it looks. However, I can't seem to get it running as an addon.

Code:
/run local editBox = DEFAULT_CHAT_FRAME.editBox; editBox:ClearAllPoints(); 
editBox:SetPoint("TOPLEFT",ChatFrame1,"TOPRIGHT",0,0); 
editBox:SetPoint("BOTTOMLEFT",ChatFrame1,"BOTTOMRIGHT",0,-3); 
editBox:SetPoint("TOPLEFT",ChatFrame1,"BOTTOMLEFT",0,-93); 
editBox:SetPoint("TOPRIGHT",ChatFrame1,"BOTTOMRIGHT",23,100);
ChatFrame1EditBox:SetMultiLine(true)
I have no idea how to make this into an addon that runs when you load into the game.
It works as you put it in the chat window like that, but obviously it always resets when you reload ui
Attached Thumbnails
Click image for larger version

Name:	Edit.PNG
Views:	132
Size:	47.2 KB
ID:	9589  
  Reply With Quote