Is there a non-hacky way to change the color of just the header in an app using the Ubuntu SDK? MainView
has a headerColor
property, but that is used as the first step of gradient. Currently, I'm just putting a colored rectangle up there:
Rectangle {
id: headerBackground
height: header.height
width: header.width
anchors.top: parent.top
color: "#288369"
}
But this causes a number of issues, most notably it is incomparable with a ListView
that fills an entire page. A full example can be found in this gist.