View Single Post
07-09-11, 07:35 PM   #8
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 284
Hate to necro this, but anyone know if chat tab relocation has been accomplished to date? I'm guessing not or you'd see it around more, but just thought I'd ask.

My own feeble attempts included a SetPoint against the individual tab names for testing (e.g., SetPoint:ChatFrame1Tab("CENTER", UIParent, "CENTER")), and also hooking FCF_SetTabPosition() from Blizzard_FrameXML\FloatingChatFrame.lua to no avail:

lua Code:
  1. hooksecurefunc("FCF_SetTabPosition", function(chatFrame, x)
  2.     local chatTab = _G[chatFrame:GetName().."Tab"];
  3.     chatTab:ClearAllPoints();
  4.     chatTab:SetPoint("BOTTOMLEFT", chatFrame:GetName().."Background", "BOTTOMLEFT", x+2, -50);
  5. end);

Edit: I'm also looking at Chatter's code for a solution after reading various posts on the subject. So far it looks like Chatter can "stretch" the tabs for an offset effect?

Last edited by Aprikot : 07-09-11 at 07:40 PM.
  Reply With Quote