local label = getglobal(self:GetName() .. "Text") label:ClearAllPoints() label:SetPoint("RIGHT", self, "LEFT", -2, 1) label:SetText("Show notes") BenillaScriptLog_SetShowNotes(self:GetChecked()) FauxScrollFrame_OnVerticalScroll(BENILLA_SCRIPTLOG_ROW_HEIGHT, BenillaScriptLog_Update) self:SetScrollChild(getglobal(self:GetName() .. "Child")) BenillaScroll_OnMouseWheel(self, arg1) BenillaScroll_SyncBar(self) BenillaScroll_SyncBar(self) BenillaScriptLogFrame_OnLoad(self) BenillaScriptLogFrame_OnMouseWheel(arg1) BenillaScriptLog_Update() BenillaScriptLogFrame_OnUpdate()