View Single Post
02-12-16, 03:09 PM   #12
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,336
You could use Frame:SetScale() to scale everything. For example, Frame:SetScale(0.5) will shrink the frame and its children to 50% of their size. Likewise, Frame:SetScale(1.25) will enlarge the frame and its children by 25%. At any rate, I honestly don't think resizing is going to be an in-demand feature.

PS: Don't forget to add the Frame:EnableMouse(true) that I forgot earlier, otherwise the container frame won't run the OnDrag* scripts.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 02-12-16 at 04:00 PM.
  Reply With Quote