on xenial help sign in
Put the highlight outside of the divider.
commitee211c74eb88ecb38ee1588aac062d6ab48a14f1 authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 15 Aug 2014, 15:31 (12 years ago) parent450925f
1 file changed+14−13
qml/Dash/PageHeader.qml+14−13
qml/Dash/PageHeader.qml+14−13
@@ -347,19 +347,6 @@ Item {
347347 }
348348 }
349349
350− Rectangle {
351− anchors {
352− left: parent.left
353− right: parent.right
354− bottom: bottomContainer.top
355− }
356− height: units.dp(1)
357− opacity: 0.6
358− color: scopeStyle ?
359− Qt.lighter(Qt.rgba(scopeStyle.background.r, scopeStyle.background.g, scopeStyle.background.b, 1.0), 1.2) :
360− "#CCFFFFFF"
361− }
362−
363350 Row {
364351 spacing: units.gu(.5)
365352 Repeater {
@@ -379,6 +366,20 @@ Item {
379366 }
380367 }
381368
369+ // FIXME this doesn't work with solid scope backgrounds due to z-ordering
370+ Rectangle {
371+ anchors {
372+ top: bottomContainer.top
373+ left: parent.left
374+ right: parent.right
375+ }
376+ height: units.dp(1)
377+ opacity: 0.6
378+ color: scopeStyle ?
379+ Qt.lighter(Qt.rgba(scopeStyle.background.r, scopeStyle.background.g, scopeStyle.background.b, 1.0), 1.2) :
380+ "#CCFFFFFF"
381+ }
382+
382383 Item {
383384 id: bottomContainer
384385