.standardPadding is a function that will return the padding for the window.
Standard is 18, I think. It's on Window_Base though, not on the bitmap
Did you recreate the contents?
After the window is initialized, if you've changed the padding or size, you'll want to do a
.createContents() call. I'm not sure how and where you're currently changing the padding, but if it's post-window creation, you'll want to do a createContents to reset it, bc that's what recreates the bitmap for that window.
I'd need to see more about what you're doing to really be able to guess at a solution.
But anything you're adding to the contents, you'd want to do after calling createContents.
Also, don't change the padding by the property. Change the actual .standardPadding function, or else other parts of the program will still get the value it returns.
If changing the standardPadding function to return 0 solves your problem, that actually negates the need to call createContents
EDIT: In fact, as a rule if you see properties on RPG Maker object prefixed with an _ underscore, they're usually treated like 'private' properties, in that there is generally a function somewhere on that object that will be called by other parts, to get that value.
Of course the property itself has no access modifier, but other elements for example aren't calling the ._padding property, they're often calling the .standardPadding() function to get the padding value.
Any change you make to the Window_Base prototype itself will carry up the chain since your Hud class is inheriting it, yes.
Changing the Window_Base prototype itself will almost certainly have unintended side effects, because every other Window class in the RPG Maker objects have it as their prototype.
That being said, many of these child classes overwrite stuff that they inherit, anyway.
So my answer is that, if your other window classes are going to extend HudObject, it's at least safe for you to make these changes on the HudObject class