View Single Post
06-29-10, 10:43 PM   #25
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
this will get rid of the insets you will have to place it into another function or somewhere to hook to the chat frames like do ChatFrame..id:hookscript("OnShow", AdjustChatClampInset) do it for the update to maybe? or hook it to something else in some other way but this will get ride of the clamp insets. or just take it out of the function but cant guarantee the num chat frames will return proper numbers.

lua Code:
  1. local function AdjustChatClampInset(self)
  2.     for id = 1, NUM_CHAT_WINDOWS do
  3.         _G["ChatFrame"..id]:SetClampRectInsets(0, 0, 0, 0);
  4.     end
  5. end
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote