WoWInterface SVN OpenRDX

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/VFL/UI
    from Rev 676 to Rev 677
    Reverse comparison

Rev 676 → Rev 677

Shortcuts.lua
13,7 → 13,7
local fs = VFLUI.CreateFontString(parent);
VFLUI.SetFont(fs, Fonts.Default, 10);
fs:SetHeight(10);
fs:SetJustifyH("LEFT"); fs:SetJustifyV("CENTER");
fs:SetJustifyH("LEFT"); fs:SetJustifyV("TOP");
fs:SetText(text); fs:SetWidth(fs:GetStringWidth() + 10);
fs:Show();
parent.Destroy = VFL.hook(function() VFLUI.ReleaseRegion(fs); fs = nil; end, parent.Destroy);