cancel
Showing results for 
Search instead for 
Did you mean: 

Header color of control sap.m.page

cmetz
Participant
0 Kudos

Hey guys,

is there an attribute to change the header color of a sap.m.page?

<mvc:View

  controllerName="....."

  xmlns:mvc="sap.ui.core.mvc"

  displayBlock="true"

  xmlns="sap.m"

  xmlns:core="sap.ui.core">

<Page title="test">

<content>

....

</content>

</Page>

</mvc:View>

I am using ""sap_bluecrystal" Theme. Should be the header light-grey as well? And there is also a blue line, which looks strange.

I was able to set the header color in the css in debug mode, but I couldn't find any property to set for the control.

Thanks and regards

Chris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (1)

Answers (1)

jmoors
Active Contributor
0 Kudos

Hi,

Looking at the renderer class they only way you can change the line colour is by changing the CSS, there isn't any property on the control to change.

Looks like you need to modify the border-top property for .sapMBar.sapMPageHeader:before

Regards,

Jason