EffectiveScale vs width and height
View Single Post
01-16-13, 05:44 AM
A Flamescale Wyrmkin
Join Date: Aug 2009
Originally Posted by
Try setting the scale for the frame in code.
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.
View Public Profile
Send a private message to Aanson
Find More Posts by Aanson