It's far more likely that you want to edit [ Interface > AddOns > nUI > Units > nUI_UnitFrame.lua ] if you're dead set on doing this though I do agree with Xrystal that this is something I generally discourage given the potential for side effects. And, to be perfectly honest, I'm not sure what "programming" you can do to address those buttons... these are honest to goodness Bliz unit frames and should already support whatever they support. Aside from hard coding special attributes for certain frames, I' m not sure what would make those buttons work in Grid and not in nUI and if you want to code special attributes, then it is no longer portable between player or characters.
All of that said, if someone can tell me how to "fix" this then I'll be happy to include it in the core code. Otherwise, it's going to have to wait for nUI6 when you have the ability to customize the attributes of unit frames on a per character basis.
|