Hi all,
I guess this might be a bit inappropriate question to ask in 'this' forum as it is more like a specific addon related question.
But, I honestly had nowhere else to ask this since official forum for 'Skada' seems to be dead
(I made a comment on its project page tho...)
So, I am attempting to write a code which will alter 'Skada' windows' size and position externally and I tried something like this so far.
Lua Code:
local skadaWindows = Skada:GetWindows();
for i = 1, #skadaWindows do
local barGroup = skadaWindows[i].bargroup;
barGroup:SetSize(WIDTH, HEIGHT);
if i == 1 then
barGroup:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT");
else
barGroup:SetPoint("LEFT", skadaWindows[i - 1].bargroup, "RIGHT");
end
end
This would partially work, but also cause a taint where the bar size is not being re-sized with its parent, a window...
(well... tbh it can't be said a "taint" as what I've done here is to re-size the window, not a bar...)
↑ You see that the right end of bar is sticking out after re-sizing
I can't be sure, but Skada seems to utilize AceGUI to create its objects which I've never played with
Any helps, please?