Commit 142898a3 authored by nevcairiel's avatar nevcairiel
Browse files

AceGUI-3.0: Label: Refresh anchoring after changing the font (Fixes #540)

git-svn-id: https://repos.wowace.com/wow/ace3/trunk@1233 5debad98-a965-4143-8383-f471b3509dcf
parent 271c36be
......@@ -2,7 +2,7 @@
Label Widget
Displays text and optionally an icon.
-------------------------------------------------------------------------------]]
local Type, Version = "Label", 26
local Type, Version = "Label", 27
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end
......@@ -130,6 +130,7 @@ local methods = {
["SetFont"] = function(self, font, height, flags)
self.label:SetFont(font, height, flags)
UpdateImageAnchor(self)
end,
["SetFontObject"] = function(self, font)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment