mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- widen the minimum width for the TargetInfo module to account for long NPC names
This commit is contained in:
@ -437,7 +437,8 @@ function TargetInfo.prototype:CreateFrame(redraw)
|
||||
self.frame = CreateFrame("Button", "IceHUD_"..self.elementName, self.parent, "SecureUnitButtonTemplate")
|
||||
end
|
||||
|
||||
self.width = self.settings.gap + 50
|
||||
-- Parnic - yes, 200 is fairly arbitrary. make a best effort for long names to fit
|
||||
self.width = math.max(200, self.settings.gap + 50)
|
||||
|
||||
self.frame:SetScale(self.moduleSettings.scale)
|
||||
|
||||
|
Reference in New Issue
Block a user