View Single Post
01-30-09, 11:54 AM   #590
Balkeep
A Cyclonian
 
Balkeep's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 43
Is there any actual way to hide 0 numbers on text fields when im using tag system?

Im creating fonstring like this
Code:
	self.Health.mvalue = self.Health:CreateFontString(nil, "OVERLAY")
	self.Health.mvalue:SetFont(font, fontS)
	self:Tag(self.Health.mvalue, '-[missinghp]')
	self.Health.mvalue:SetPoint("TOPRIGHT", self.Health, "TOPRIGHT", -3, -3)
works just fine, but is there any way to hide value of the field self.Health.mvalue if its == 0 ?