- don't explicitly set widths on fontstring frames so that long dogtags or huge fonts/mob names don't get cut off

This commit is contained in:
Parnic
2008-03-02 20:36:37 +00:00
parent 9870276adb
commit c81eea7544
2 changed files with 5 additions and 4 deletions

View File

@ -518,8 +518,9 @@ function IceBarElement.prototype:CreateTexts()
self.frame.bottomUpperText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomUpperText)
self.frame.bottomLowerText = self:FontFactory(self.moduleSettings.barFontSize, nil, self.frame.bottomLowerText)
self.frame.bottomUpperText:SetWidth(80)
self.frame.bottomLowerText:SetWidth(120)
-- Parnic - commented these out so that they conform to whatever width the string is set to
-- self.frame.bottomUpperText:SetWidth(80)
-- self.frame.bottomLowerText:SetWidth(120)
self.frame.bottomUpperText:SetHeight(14)
self.frame.bottomLowerText:SetHeight(14)