Hi All,
I am trying to apply css styles to xml views in sap ui5.
I am successful in changing the font size of a text or changing the color of a label..
But i am not successful in changing the style of number and number unit in Object Header.
<html:style>
.myFont1 {
font-size : 15px;
}
</html:style>
<
<Page
title="{i18n>DetailTitle}"
showNavButton="{device>/isPhone}"
navButtonPress="handleNavButtonPress" >
<ObjectHeader class = "myFont1"
title="{SoId}"
number="LB0406S6GB 2.5 SLC 400GB Flash Drive"
numberUnit="SDLB6S-400G-3103" >
<attributes>
<Page
title="{i18n>DetailTitle}"
showNavButton="{device>/isPhone}"
navButtonPress="handleNavButtonPress" >
<ObjectHeader class = "myFont1"
title="{SoId}"
number="LB0406S6GB 2.5 SLC 400GB Flash Drive"
numberUnit="SDLB6S-400G-3103" >
<attributes>
<ObjectAttribute text="{BuyerName}" />