fix margin zero
add deprecated variable
add MarginZero as an external variable
fix platform compile error
Merge pull request #7231 from andyque/fixUIMargin

fix ui Margin