- Improved aura creation.

- Custom display 'My Spells' now also show your pets.
- Fixed 'Raid Check' plugin food detection.
This commit is contained in:
Tercio
2015-03-02 21:46:45 -03:00
parent e023039089
commit 1126200859
20 changed files with 339 additions and 61 deletions
+1 -1
View File
@@ -938,7 +938,7 @@ function gump:NewButton (parent, container, name, member, w, h, func, param1, pa
ButtonObject.button.text:SetPoint ("center", ButtonObject.button, "center")
local text_width = ButtonObject.button.text:GetStringWidth()
if (text_width > w-15) then
if (text_width > w-15 and ButtonObject.button.text:GetText() ~= "") then
if (not short_method) then
local new_width = text_width+15
ButtonObject.button:SetWidth (new_width)