I thought about hook. Long as that code is not secure code I should be good. I'll do some more testing.
Update: You're right it did taint. I did it thru hooksecurefunction. No taint.
Modified code
Code:
local OldMainMenuBarSetScale = MainMenuBar.SetScale
local function MySetScale()
local Width = MainMenuBar:GetWidth() + 40
MicroButtonAndBagsBar:SetPoint('BOTTOMRIGHT', -Width, 0)
OldMainMenuBarSetScale(MainMenuBar, 1)
end
hooksecurefunc(MainMenuBar, 'SetScale', MySetScale)