Quantcast WoWInterface - View Single Post - SecureGroupHeader InitialConfig scale does not affect header
View Single Post
11-15-16, 05:52 PM   #4
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,289
Originally Posted by zork View Post
I tried any variant of applying init-scale. None of them had an effect.
You do this outside of the init function, where you've created your header frame. Might not be possible to do with oUF tho.

You could try to do this too:

Lua Code:
  1. self.header:SetAttribute("initialConfigFunction", [[
  2.     local header = self:GetParent()
  3.     header:SetScale(1.2)
  5.     header:CallMethod("initialConfigFunction", self:GetName())
  6. ]])

Last edited by Resike : 11-15-16 at 05:56 PM.