Thread Tools Display Modes
07-05-09, 02:32 PM   #1
Miralen
A Rage Talon Dragon Guard
 
Miralen's Avatar
Join Date: Dec 2006
Posts: 341
Regarding ChatFrame1 and ChatEditBox

Hey there I just made a small three line addon to do this but figured you or other people might want to fix this issue. It really isn't a bug just something that is kind of annoying and I think this is an appropriate place to put this. At any rate what I am referring to is when you hit enter and the chat box is open. First off it covers the top most part of the chat frame which is kind of annoying. Second off when there is a link in chat for an item/achievement/skill link/pattern link (I think you get the idea) when you click on the link the chateditbox hides behind the chat frame making it plenty annoying if you have typed stuff out in the box already and aren't quite finished with what you were typing. So what I did was just make a three line addon containing these lines which fixes both those issues.

ChatFrameEditBox:SetPoint("BOTTOMLEFT", "ChatFrame1", "TOPLEFT", 0, 3);
ChatFrameEditBox:SetPoint("BOTTOMRIGHT", "ChatFrame1", "TOPRIGHT", 0, 3);
ChatFrameEditBox:SetFrameStrata("TOOLTIP");

the frame strata can be changed to something other than tooltip I just wanted to pick the highest strata there was to see if that fixed the issue I haven't tried to set the strata any lower though. Hopefully this helps someone out who had/has the same issue and finds them annoying.
__________________
Never hold discussions with the monkey when the organ grinder is in the room.

- Winston Churchill
 
07-05-09, 02:46 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
The problem with anchoring the chat frame edit box to the bottom of the chat frame is that it always covers the most recent line of text which often is the one you are trying to reply to -- it's even more annoying if you're trying to link something that is in that line. Placing the chat edit box at the top of the frame means it's always covering the oldest item in the chat frame and if for some reason you do need to see that you can still scroll the frame back to show it which you cannot do if the edit box is at the bottom.

That's why it was done that way.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Regarding ChatFrame1 and ChatEditBox


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