View Single Post
07-27-11, 03:53 AM   #2
Cripsii
A Black Drake
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 82
Ok !

Logout
Go to Wow Install folder
Interface/Addons/VFL/UI/FrameClasses

Open StatusBarTexture.lua in your favorite editor

Search for "-- stacktext" (without "") normaly on line 259

and replace
Code:
-- stacktxt
        f.stacktxt = VFLUI.CreateFontString(f);
	f.stacktxt:SetAllPoints(f);
	VFLUI.SetFont(f.stacktxt, desc.stacktxt, nil, true);
	f.stacktxt:Show();
with
Code:
-- stacktxt
	if desc.showicon then
	f.stacktxt = VFLUI.CreateFontString(f);
	f.stacktxt:SetAllPoints(f.icon);
	VFLUI.SetFont(f.stacktxt, desc.stacktxt, nil, true);
	f.stacktxt:Show();
	else
	f.stacktxt = VFLUI.CreateFontString(f);
	f.stacktxt:SetAllPoints(f);
	VFLUI.SetFont(f.stacktxt, desc.stacktxt, nil, true);
	f.stacktxt:Show();
	end
Save and relog.

If you enable the icon, the stack automaticaly get the icon for parent, else the anchor is the frame if the icon is disable.

Good luck !
  Reply With Quote