View Single Post
06/04/17, 04:12 PM   #3
patrick_smyth
AddOn Author - Click to view addons
Join Date: Oct 2016
Posts: 9
pchat forces reloadui

The problem I have with using pchat as my model is that it seems to force a reloadui() every time it does a font change.

It uses:
Code:
    ZoFontEditChat:SetFont(fontPath)
    ZoFontChat:SetFont(fontPath)
These calls do not appear to take effect until the next reloadui(). Then they seem to affect the entire window and not just any new text.

For my application to do a reloadui() every time it needed to change font would not be practical. Also it needs the font change to only affect new output text and not existing.

Before I give up does anyone know of a better way?
  Reply With Quote