View Single Post
Unread 10-05-12, 06:09 PM   #31
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,290
Because if you do that, then you have to duplicate code by setting the widths in two places: once where you create the element, and again in the PostUpdate. If oUF reports a change on the first update, then you only need the code in one place: in the PostUpdate.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote