Hey all. I have a loop that generates a whole bunch of edit boxes using LUA. I'm not using XML at all in this addon. It seems that no matter what I do, the 2nd through Nth edit box does not display properly--specifically, the middle portion of it fades into the background. I can still type values in them, but as you can see from the screenshot, it's total garbage.
So, I tried all sorts of different things. Even if I space them out severely so there's no chance of any overlap, only the 1st one (top left in photo) shows up properly. I tried making only two editboxes, far away from each other, and the 2nd one had its middle faded into the background as shown above. This is my editbox_maker code:
Code:
local function Editbox_Maker(offset, width, height, saved_var, key, num)
F = CreateFrame("EditBox", "edit box", f1, "InputBoxTemplate");
--where f1 is the large grey frame.
F:SetMaxLetters(20)
F:SetWidth(width);
F:SetAutoFocus(false);
F:SetPoint("LEFT", f1, 100+offset, height);
F:SetScript("OnTextChanged", UpdateValues);
F:SetText(saved_var);
F:Show();
return F;
end
Anyhow, I've wasted hours on this. It's really driven my progress to a halt. Any ideas?