View Single Post
07-31-16, 03:54 AM   #5
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Originally Posted by Layback_ View Post
Each buff size is set to 20x20 with 2 pixels spacing between two buffs while the buffs frame is set to the size of 100x100. So, the fifth buff will exceed by 8 pixels.
20px * 5 + 2px * 4 = 108px

Once again, to understand why you have this issue, please, read oUF code.

That's how number of columns (auras per row) is calculated, it rounds the value, so in your case floor(100 / 22 + 0.5) = 5.
__________________
  Reply With Quote