Quantcast Status bar picker - WoWInterface
Thread Tools Display Modes
07-26-11, 01:18 PM   #1
Narinka
A Chromatic Dragonspawn
Join Date: Oct 2008
Posts: 165
Status bar picker

Atm, stack text font in Status bar picker is anchored to the status bar frame, can we make it anchored to the icon please?

I mean..
I wish to see stack text in the center of the icon and have no way to do this.
  Reply With Quote
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
07-28-11, 09:28 AM   #3
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,250
Add into RDX.

Thanks
__________________
RDX manager
Sigg
  Reply With Quote

WoWInterface » Featured Projects » OpenRDX » OpenRDX Support » OpenRDX: Feature Requests » Status bar picker

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off