2.5x User Interface Code Helps

Hey everyone,
I did some cleanups in some of the trunk addons.
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2278
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2279

I would like to ask every Addon developer to take a look at this, and feel free to ask questions here, if you are not sure if your User Interface code in draw() is fine! :yes:

Best regards,
DingTo

Thanks DingTo. There are some good lessons here, like:

  • you only need to make a row if there’s more than one thing in the row
  • similarly for columns
  • no need to split if you have only one column