View Single Post
07-30-18, 11:12 PM   #3
Theroxis
A Fallenroot Satyr
Join Date: Jun 2018
Posts: 24
Originally Posted by zork View Post
GetRegion()
I'll have to play with this some more, so far I've only gotten Select(#, BattlefieldMapFrame.ScrollContainer:GetRegion()):SetFont(...) to throw errors, no matter which number is passed to it. I might be approaching it wrong though. I've also tried the same with .Name:SetFont() It's a tad weird as technically this is something of a different class altogether a "label" and has a restricted set of functions. Using WorldMapTextFont:SetFont() works, but also changes the font on the WorldMapFrame; which is undesirable.

Thanks for pointing me in a correct direction, trying to hooksecurefunc a data provider seems like asking for trouble in a lot of different ways. I'm certain that either GetChild or GetRegion can grab the correct element reliably, just gotta figure out the correct arguments.
  Reply With Quote