View Single Post
02-16-10, 11:10 AM   #54
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
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:
Code:
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