Thread: Chat Panels
View Single Post
12-09-12, 11:00 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I'm not sure what you mean about the resizing. If multiple chat windows are docked together, only the first one is resizable -- the others always follow the size of the first. Also, the code I posted doesn't resize tabs at all, only the actual chat frames. Can you be more specific about the problem?

Also, in the code you posted, all of those _G.SOME_VAR lookups are extremely inefficient. Just access SOME_VAR directly; it saves you a table lookup. You can also get rid of "local _G = _G" ... it makes the unnecessary table lookup a little faster, but still slower than just getting the variable directly from the global environment.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote