Quantcast WoWInterface - View Single Post - oUF P3lim - Official thread
View Single Post
02-16-10, 11:10 AM   #54
A Pyroguard Emberseer
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,646
Originally Posted by xandora View Post
Just swapped over to oUF from Pitbull4 and I must say that I'm enjoying the challenge of recreating my old frames by using your layout as a base. I've pretty much managed to work out the basics of sizing and moving buffs and frames but there are a few places where I don't understand it all quite yet.

For example:
if(unit == 'target') then
self.Debuffs:SetHeight(20 * 0.97)
self.Debuffs.size = 20 * 0.97
Why are the Heights multiplied here when for the rest of the layout the height is set to exactly 20?
Very old part of my code, but it was the easiest way to find out what scaling I wanted for my debuffs (to make 10 of them fit within the width of the frame).

I'm re-doing the whole layout for 1.4, a snapshot of that work can be found on github for those who want.
  Reply With Quote