mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 05:00:02 +00:00
fonts: support for non latin gameclients
This commit is contained in:
@@ -203,7 +203,7 @@ function pfUI.info:ShowInfoBox(text, time, parent, height)
|
||||
pfUI.info:ClearAllPoints()
|
||||
pfUI.info.text:SetAllPoints(pfUI.info)
|
||||
pfUI.info.text:SetText(text)
|
||||
pfUI.info.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\" .. pfUI_config.global.font_default .. ".ttf", 14, "OUTLINE")
|
||||
pfUI.info.text:SetFont(pfUI.font_default, 14, "OUTLINE")
|
||||
|
||||
pfUI.info:SetWidth(pfUI.info.text:GetStringWidth() + 50)
|
||||
pfUI.info:SetHeight(height)
|
||||
|
||||
Reference in New Issue
Block a user