I'm trying to use ObjectHeader but it has standard padding given by .sapMOH style class. I want to remove that padding.
I tried:
<ObjectHeader class="sapUiNoContentPadding" binding="" title="text">class="sapUiSizeCompact".removeStyleClass("sapMOH");But none of the above seems to work.
How to achieve it without custom CSS?
If you do not want to add a CSS file, you could try to directly add the style to the HTML description of the element. In this case that would be along the lines of (depending on whether you use HTML/XML/JS views):
<ObjectHeader style="padding:0px !important" class="sapUiNoContentPadding" binding="" title="text">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With