View Single Post
Old 01-16-13, 04:44 AM   #3
Aanson
A Flamescale Wyrmkin
Join Date: Aug 2009
Posts: 123
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.
__________________
__________________
Aanson is offline   Reply With Quote