View Single Post
01-16-13, 05:44 AM   #3
Aanson
A Flamescale Wyrmkin
Join Date: Aug 2009
Posts: 124
Originally Posted by Ekaterina View Post
Try setting the scale for the frame in code.

myFrame:SetScale(1)

Ekat.
I don't think that'll do anything. The frame is parented to UIParent. Setting it's scale to 1 will simply make it's scale 100% of it's parent's scale which is currently 83%. GetScale() will return 1 whereas GetEffectiveScale() will return 0.83.

Now that I've slept on it, I don't think it can be done. There's just no way to respond to changes in scale.

Hooking to the appropriate function would work perhaps but I prefer not to do that whenever possible.

Cheers for the suggestion.
__________________
__________________
  Reply With Quote